mirror of
https://github.com/Ukendio/jecs.git
synced 2025-08-04 03:09:18 +00:00
Clarify exists usage
Some checks are pending
Some checks are pending
This commit is contained in:
parent
3ab1d970e2
commit
3e46b723e9
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ print(world.contains(entity)) // false
|
|||
|
||||
## exists
|
||||
|
||||
Alias for `contains`. Checks if an entity exists and is alive in the world.
|
||||
Checks if the entity ID exists regardless of whether it is alive or not. Useful to know if the ID is occupied in the entity index.
|
||||
|
||||
```luau
|
||||
function World:exists(
|
||||
|
|
Loading…
Reference in a new issue