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

Start learning →

glide (1) secs to (random position) — Scratch Block Guide

📌 What you will learn

Smoothly animates the sprite to a target over the given number of seconds, pausing the script until arrival.

What this block does

Smoothly animates the sprite to a target over the given number of seconds, pausing the script until arrival.

Great for cutscenes, floating clouds, or patrol paths that do not need mid-flight interruption.

  • Category: Motion Blocks
  • Key tip: Because glide pauses the script while moving, avoid using it for player keyboard controls.

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 glide (1) secs to (random position)
  1. When green flag clicked
  2. Repeat 3
  3. Glide 1 secs to random position

Try it: The sprite floats smoothly to three random spots on 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 "glide (1) secs to (random position)" in Scratch?

Great for cutscenes, floating clouds, or patrol paths that do not need mid-flight interruption. Because glide pauses the script while moving, avoid using it for player keyboard controls.

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.