glide (1) secs to (random position) — Scratch Block Guide
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.
- When green flag clicked
- Repeat 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.
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.