From Game Editor
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.