NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

point towards (mouse-pointer) — Scratch Block Guide

📌 What you will learn

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.

Example using point towards (mouse-pointer)
  1. When green flag clicked
  2. Forever
  3. Point towards mouse-pointer
  4. 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.

Back to Motion Blocks See the overview and patterns for Motion Blocks. Learn more → Scratch Block Dictionary (All Categories) Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Learn more →

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.