Forward: Difference between revisions

From StarLogo Nova Wiki
(Created page with "Category:Movement <section begin="image"/>alt=The forward block|thumb<section end="image"/> <section begin="name" />'''{{Block|forward [_]}}'''<section end="name" /> is a code block part of the Movement drawer. ==Usage== {{Block|forward [_]}} moves the agent in Spaceland in the heading it is facing. The renderer tweens the movement such that it appears the agent changes lo...")
 
m (Fixed nuances header)
Line 8: Line 8:
<code>forward [number]</code>
<code>forward [number]</code>


=== Nuances ===
== Nuances ==
Because of the [[Engine#tweening|tweening]] effect, certain interactions can cause confusion. [[Explaining Up Tweening Confusion|Click here to read more on how tweening can create confusing scenarios.]]
Because of the [[Engine#tweening|tweening]] effect, certain interactions can cause confusion. [[Explaining Up Tweening Confusion|Click here to read more on how tweening can create confusing scenarios.]]



Revision as of 00:55, 10 August 2022

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