Forward

From StarLogo Nova Wiki
Revision as of 16:20, 8 August 2023 by Admin (talk | contribs) (add tooltip text)
Other languages:
The forward block

Moves forward with a specified number of steps per tick.

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