π©π± Feature Card: Glide a Sprite
Use this when you want a sprite to move smoothly across the screen β like a fish swimming, a spaceship flying, or a balloon drifting.
π§ What is "glide"?
In Scratch, the glide
block makes a sprite smoothly move to a new position on the stage over a set number of seconds.
This gives a natural-looking movement and is a great way to simulate swimming, flying, floating, or drifting.
π How to do it
π¦ Blocks to use:
π Example: Glide a Fish
This will make the sprite move from the left side to the right over 3 seconds.
π§° Technique Cards (Practical Skills)
These practical technique cards can help take your understanding further:
π Challenge Yourself!
Try these:
- Make the sprite glide back and forth using a loop.
- Combine with
turn
orpoint in direction
to change direction before gliding. - Use
pick random
to glide to random x and y spots:
π§© Useful Tips
- Shorter seconds = faster glide.
- Use
when this sprite clicked
to glide on click. - Combine with
repeat
orforever
for continuous movement. - Use
if on edge, bounce
if youβre combining glide with other movement styles.
π― When to use this Feature
Project Examples | Why Glide Works |
---|---|
Virtual Fish Tank | Smooth fish movement across the screen |