I want it to flip around if the number on X axis is decreasing or increasing.
i don’t know how else to explain it
I want it to flip around if the number on X axis is decreasing or increasing.
i don’t know how else to explain it
Maybe you’re not approaching the problem the right way… usually we flip the sprites in the same event as the controls (if left is pressed, simulate left, flip: yes), but to answer your question, store X position in a variable, before moving it, then compare it to current position on the next frame.
So the event order would be: