findEntityWorld
findEntityWorld(
entity):World|undefined
The world that holds entity, read from the id koota packs into it,
building no record as koota’s unpackEntity does: undefined for an
entity its world destroyed, and once that world is destroyed. koota
reuses a destroyed world’s id, so keep no entity past its world: its
number may then name an entity of a later one. The world reads and
never writes, as every world a game holds. As Unreal’s GetWorld and
Godot’s get_tree.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
Returns
Section titled “Returns”World | undefined