point towards (mouse-pointer) — Scratch Block Guide
Rotates the sprite to face the mouse pointer or another chosen sprite.
What this block does
Rotates the sprite to face the mouse pointer or another chosen sprite.
Power turret aiming, homing enemies, or eyes that track the cursor.
- Category: Motion Blocks
- Key tip: Add "if <(distance to mouse-pointer) > (10)> then" to stop jittering when the sprite reaches the cursor.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Forever
- Point towards mouse-pointer
- Move 3 steps
Try it: The sprite continuously chases the mouse cursor around the stage.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "point towards (mouse-pointer)" in Scratch?
Power turret aiming, homing enemies, or eyes that track the cursor. Add "if <(distance to mouse-pointer) > (10)> then" to stop jittering when the sprite reaches the cursor.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.