Table of Contents

glide () secs to ()

Description

The block moves its sprite steadily to the specified X and Y position in the specified amount of seconds – this is like pointing the sprite in a direction and repeatedly using Move () Steps, but with more precision. A disadvantage of the glide block, however, is that it pauses the script while the sprite is moving, preventing the script from doing other things while the sprite is gliding.

Example

The example demonstrates how to make the sprite glide to a random position on the stage when it is clicked.

Script

Output

Read More
The example demonstrates the costume change and gliding to the random location when clicked.

Script

Output

Read More
All articles loaded
No more articles to load