Whether spatial indexing is enabled
Destroy all entities and clear registry
Enable spatial indexing for proximity queries. Only entities tagged with the spatial tag (default: 'spatial') are tracked.
Optionalconfig: SpatialConfigGet all entities
Query entities within a rectangular area. Requires enableSpatial().
Query entities near a point within a radius. Requires enableSpatial().
Remove destroyed entities from the registry
Update all registered entity components, then refresh spatial positions
Count active entities