Xprevious and yprevious

From Game Editor

Jump to: navigation, search

To find out where the actor has been one frame before, you can use the local variables xprevious and yprevious. xprevious is the actor's horizontal position in the last frame and yprevious is the vertical position in the last frame.