Table of Contents

move () steps

Description

The block moves its sprite forward the specified amount of steps in the direction it is facing. A step is equal to one-pixel length. The block actually uses Trigonometry to move in the proper direction, as that is how a computer handles it.

Example

The example demonstrates how to use keys sensing to control the movement of the sprite.

Script

Output

Read More
The example demonstrates the wall bouncing of the sprite and rotation style.

Script

 

Output

Read More
The example demonstrates how to make the sprite follow the mouse.

Script

Output

Read More
All articles loaded
No more articles to load