Backwards: Difference between revisions

From StarLogo Nova Wiki
mNo edit summary
mNo edit summary
Line 27: Line 27:
<!--T:5-->
<!--T:5-->
==Related Blocks==
==Related Blocks==
*{{Block|Forwards|forwards[_]}}
*{{Block|Forward|forward[_]}}
*{{Block|Left By Degs|left by [_] degs}}
*{{Block|Left By Degs|left by [_] degs}}
*{{Block|Right By Degs|right by [_] degs}}
*{{Block|Right By Degs|right by [_] degs}}

Revision as of 16:29, 8 August 2023

Other languages:
The backwards block

Moves backwards a specified number of steps.

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