Forward/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 10: | Line 10: | ||
<section begin=image/>[[File:Forward Nums.png|right|alt=The Forward Block|thumb]]<section end=image/> | <section begin=image/>[[File:Forward Nums.png|right|alt=The Forward Block|thumb]]<section end=image/> | ||
<!-- <code>forward [number]</code> --> | <!-- <code>forward [number]</code> --> | ||
Inputs in this block: | |||
#a number | |||
== Nuances == | == Nuances == |
Revision as of 15:37, 27 July 2023
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
Inputs in this block:
- 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.