findEntityByPersistentId
findEntityByPersistentId(
world,id):Entity|null
The member of world’s per-entity saves under its persistent id, or
null where none is: what a record that names another by id restores it
with. readPersistentId reads the id.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
id |
string |
Returns
Section titled “Returns”Entity | null