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


array LT_entity_scan(number world,vector location,number radius)

numberworld World ID of map to scan inside
vectorlocation Center point of scan sphere
numberradius Radius to detect entities within

Finds all entities within a given radius. Provide the location as the center point and radius of the scan sphere and this function will return an array of all found entity indices. If no entity was found, this will return an empty array.