# MoveEntity

TIP

  • moveEntity(<entity_ID>, <x>, <z>, [speed])
  • This function allows you to let entities move to a specific position.

# Parameters

  • <entity_ID> The entity ID as int
  • <x> The X coordinate for the entity to move to as int or float
  • <z> The Z coordinate for the entity to move to as int or float
  • [speed] The speed of the entity as int or float (Between 0 and 30)

# Example

1: $id$ = spawnEntity("Chicken", $world$, 0, $y$, 0)
2: moveEntity($id$, $x$, $z$)