isRemote
isRemote(
entity):boolean
Defined in: packages/engine/src/gameplay/replication/traits.ts:47
Whether the room’s stream moves the entity rather than this world’s own systems: it came from the stream and is not the one entity this client steers. A local system that moved it would fight the next delta. The authority is read only for a streamed entity, so a world that is not a replica reads none.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
Returns
Section titled “Returns”boolean