dthrasher90 Posted March 9, 2017 Share Posted March 9, 2017 Is there a way to log sprite coordinates after it moves? Say you have a sprite at (here, here) and it moves to (there, there). Is there some way to get the (there, there) coordinates? Link to comment Share on other sites More sharing options...
ForgeableSum Posted March 9, 2017 Share Posted March 9, 2017 just store the coordinates on the sprite object when it moves. sprite.goingToXY = [goingX,goingY]; I recommend reading up on some elementary javascript (storing variables) - it will make your life much easier. Link to comment Share on other sites More sharing options...
Recommended Posts