Skip to main content
POST
Set pathfinding goal on an entity

Body

application/json

entity_id, a target position [x, y, z], and a movement speed (default 5.0). Attaches a NavAgent and PathGoal so the entity steers toward the target.

The body is of type any.

Response

200 - application/json

Path goal set on the entity (or a not-found message).

ok
boolean
required
message
string | null