Following The Mouse Pointer

This snippet can be used to have a sprite that moves in the direction of the mouse pointer

When the green flag is pressed and what it does is it makes the sprite point at the mouse pointer then moves 10 steps forward in that direction. This is then repeated forever.

The code can be found here:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top