Backwards: Difference between revisions

From StarLogo Nova Wiki
(add tooltip text)
(Marked this version for translation)
Line 6: Line 6:
<section begin="image"/>[[File:Backwards.png|alt=The backwards block|thumb]]<section end="image"/><p id="tooltip">Moves backward with a specified number of steps per tick.</p>
<section begin="image"/>[[File:Backwards.png|alt=The backwards block|thumb]]<section end="image"/><p id="tooltip">Moves backward with a specified number of steps per tick.</p>


<!--T:6-->
<section begin="name" />'''{{Block|backwards [_]}}'''<section end="name" /> is a [[code block]] part of the [[Movement]] drawer.
<section begin="name" />'''{{Block|backwards [_]}}'''<section end="name" /> is a [[code block]] part of the [[Movement]] drawer.



Revision as of 16:21, 8 August 2023

Other languages:
The backwards block

Moves backward with a specified number of steps per tick.

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

Usage

backwards [_] moves the agent in Spaceland in the heading opposite that which it is facing. The renderer tweens the movement such that it appears the agent changes location smoothly instead of instantaneous.

Syntax

The Backward 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