Backwards: Difference between revisions
No edit summary |
(add tooltip text) |
||
Line 4: | Line 4: | ||
<!--T:1--> | <!--T:1--> | ||
[[Category:Movement]] | [[Category:Movement]] | ||
<section begin="image"/>[[File:Backwards.png|alt=The backwards block|thumb]]<section end="image"/> | <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="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. | ||
<!--T:2--> | <!--T:2--> | ||
==Usage== | ==Usage== | ||
{{Block|backwards [_]}} moves the [[agents|agent]] in [[Spaceland]] in the [[heading]] opposite that which it is facing. The [[Engine#rendering|renderer]] [[Engine#tweening|tweens]] the movement such that it appears the agent changes location smoothly instead of instantaneous. | |||
<!--T:3--> | <!--T:3--> |
Revision as of 16:21, 8 August 2023
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
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.