Forward/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
Line 7: Line 7:
<p id="tooltip">{{Block|forward [_]}} moves the [[agents|agent]]  in [[Spaceland]] in the [[heading]] it is facing. The [[Engine#rendering|renderer]] [[Engine#tweening|tweens]] the movement such that it appears the agent changes location smoothly instead of instantaneous.</p>
<p id="tooltip">{{Block|forward [_]}} moves the [[agents|agent]]  in [[Spaceland]] in the [[heading]] it is facing. The [[Engine#rendering|renderer]] [[Engine#tweening|tweens]] the movement such that it appears the agent changes location smoothly instead of instantaneous.</p>


===Syntax===
==Syntax==
<code>forward [number]</code>
<section begin=image/>[[File:Forward Nums.png|right|alt=The Forward Block|thumb]]<section end=image/>
<!-- <code>forward [number]</code> -->


== Nuances ==
== Nuances ==

Revision as of 16:14, 26 July 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

The Forward Block

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