|This feature is exclusive to Bedrock Edition and Education Edition.|
|This page describes an education-related feature.|
Moves an Agent in a specified direction.
move <direction: string>
- Specifies the direction of where the Agent is to move.
- Must be one of:
forwardto move the Agent forward.
backto move the Agent backward.
leftto move the Agent leftward.
rightto move the Agent rightward.
upto move the Agent upward.
downto move the Agent downward.
Fails if the specified direction is blocked by a block.
On success, the Agent is moved in the direction specified by one block.