1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Equipped
  6. Food/Medicine
  7. Items
  8. Attributes
  9. Creatures
  10. Blocks
  11. Props
  12. API Types
  13. API Functions


entity LT_entity_get(number index)

numberindex The index of the entity to get

Gets an arbitrary entity from a numerical index. All of the current game's entities are indexed from 0 to one less than the total number of entities. A particular index may not always refer to the same entity and could change rapidly. It is only safe to use an index within the same frame.