# 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. How to use the "glide (1) secs to (random position)" block in Scratch 3.0 (Motion Blocks): clear explanation, working block example, and debugging tips. ## 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)** - 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. - [Back to Motion Blocks](/en/dictionary/motion/): See the overview and patterns for Motion Blocks. - [Scratch Block Dictionary (All Categories)](/en/dictionary/): Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/motion/glide-to/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)