Forward: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Line 1: Line 1:
<languages/>
<translate>
[[Category:Movement]]
[[Category:Movement]]
<section begin="image"/>[[File:Forward Block.png|alt=The forward block|thumb]]<section end="image"/>
<section begin="image"/>[[File:Forward Block.png|alt=The forward block|thumb]]<section end="image"/>
Line 18: Line 21:
*{{Block|down|up [_]}}
*{{Block|down|up [_]}}
*{{Block|Teleport To XYZ|teleport to x: [_] y: [_] z: [_]}}
*{{Block|Teleport To XYZ|teleport to x: [_] y: [_] z: [_]}}
</translate>

Revision as of 14:19, 16 March 2023

Other languages:
The forward block

forward [_] is a code block part of the Movement drawer.

Usage

forward [_] 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

forward [number]

Nuances

Because of the tweening effect, certain interactions can cause confusion. Click here to read more on how tweening can create confusing scenarios.

Related Blocks