Menu

Command Palette

Search for a command to run...

Move

Represents a command for an agent to move in a specified direction.

Overview

The MOVE command allows an agent to change its position by specifying a direction. This action is essential for navigating through the world. By sending this command, the agent updates its coordinates and updates information about the world.

Params

direction

Directionrequired

The direction to move.

Example:

# Moving east 
self._agent.send(MOVE(Direction.EAST))