Forward
Moves forward a specified number of steps.

Description
The Forward block moves the agent in Spaceland in the heading it is facing. The renderer tweens the movement such that it appears the agent changes location smoothly instead of instantaneous. This is a code block part of the Movement drawer.
Usage
The Forward block moves the agent in Spaceland in the heading it is facing. The renderer tweens the movement such that it appears the agent changes location smoothly instead of instantaneous.
Syntax
Inputs in this block:
- A number (number of steps to move forward)

Example
When the 'forever' button is toggled, the 'turtle' agents move forward by one step, while also turning randomly, allowing them to wander randomly throughout spaceland.

Notes
Because of the tweening effect, certain interactions can cause confusion. Click here to read more on how tweening can create confusing scenarios.
Related Blocks
- backwards - Move backwards specified steps
- left by degs - Rotate agent left
- right by degs - Rotate agent right
- up - Move up specified steps
- down - Move down specified steps
- teleport to - Instantly move to coordinates