Hello! How do I get angle of motion of sprite with behavior "Pathfinding" using scripting?
Develop games in your browser. Powerful, performant & highly capable.
Scripting is supposed to complement the event system, not replace it completely. Many features and methods are not available in scripts, if it's not in the documentation, then you'll have to use events.
I'm pretty sure you can just compare your current and previous position to get the angle of motion, with events or scripting.