seems like it should be simple, but I can't figure it out. The only way i can think of is to check if the direct controls for left/right are being pressed, but that's not consistent with how we have the check for jumping or falling programmed.
You can use variable for store X position and compare it it object.X position when needed.
Develop games in your browser. Powerful, performant & highly capable.
I think there's a check vector thing.
ah, i guess i could do a mix of : is character moving & compare speed > 0.
I just set it set my variable to true of any of the move left/right buttons are held down
Doc Ai is right, you can check if Platform.VectorX is positive or negative.
The manual should be read <img src="{SMILIES_PATH}/icon_idea.gif" alt=":idea:" title="Idea">
https://www.scirra.com/manual/100/platform
At the bottom
And not to forget the case if VectorX = 0, not moving left or right.
If you are mirroring your sprite when moving left or right you can just use mirrored to detect if they are facing left.