Yprevious

Explanation
The local variable yprevious indicates the previous y position of an instance.

If an instance is not moving, yprevious is the same as y.