Game Maker

Entity

A property type for storing a reference to any non-player entity.

The Entity property type stores a reference to a specific, unique entity that has been spawned in your map, such as a zombie, an armor stand, or a dropped item. It stores the entity by its unique ID (UUID).

  • Default Value: null

Common Use Cases

  • Storing a reference to a boss mob so you can check its health or teleport it.
  • Storing a reference to an armor stand that acts as a clickable button.
  • A "pet" system where a property tracks which wolf belongs to which player.

Operators (in Change Property action)

  • Set: Sets the property to a specific entity.
  • Set Current: A shortcut to set the property to the entity that triggered the current action.

Checks (in Property Condition)

  • Equals: Checks if the stored entity is the same as another entity.
  • Equals Current: Checks if the stored entity is the same as the entity that triggered the action.