Forward: Difference between revisions
m (Fixed nuances header) |
(→Usage) |
||
Line 3: | Line 3: | ||
<section begin="name" />'''{{Block|forward [_]}}'''<section end="name" /> is a [[code block]] part of the [[Movement]] drawer. | <section begin="name" />'''{{Block|forward [_]}}'''<section end="name" /> is a [[code block]] part of the [[Movement]] drawer. | ||
==Usage== | ==Usage== | ||
{{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 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=== |
Revision as of 18:58, 17 August 2022
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.