i have sprite without behaviors so WHEN this sprite is changing possition /moving (using lerp function) = do something.
any ideas how solve this?
Develop games in your browser. Powerful, performant & highly capable.
You can always store the position, and if the values change next time round the loop, you know the sprite has moved.
blackhornet is correct.
In my board game, I use OldX and OldY variables.