Forward: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
mNo edit summary
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
[[Category:Movement]]
[[Category:Movement]]
<section begin="image"/>[[File:Forward Block.png|alt=The forward block|thumb]]<section end="image"/><p id="tooltip">Moves forward with a specified number of steps per tick.</p>
<section begin="image"/>[[File:Forward Block.png|alt=The forward block|thumb]]<section end="image"/><p id="tooltip">Moves forward a specified number of steps.</p>


<!--T:5-->
<!--T:5-->
Line 32: Line 32:
*{{Block|up|up [_]}}
*{{Block|up|up [_]}}
*{{Block|down|up [_]}}
*{{Block|down|up [_]}}
*{{Block|Teleport To XYZ|teleport to x: [_] y: [_] z: [_]}}
*{{Block|Teleport To|teleport to x: [_] y: [_] z: [_]}}
</translate>
</translate>

Revision as of 16:27, 8 August 2023

Other languages:
The forward block

Moves forward a specified number of steps.

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

The Forward Block

Inputs in this block:

  1. a 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