Skip to content

GetEntitiesList

Retrieves a list of all entities.

CAUTION

Do not modify the returned array. It is a reference to the internal array.

WARNING

Interaction should not occur too frequently (especially in OnDraw), as it may cause FPS drops.

IMPORTANT

This array contains all possible entities on the map.


GetEntitiesList()Entity[]

Returned:

  • Entity[] - An array of all entities.