Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

isVisibleTo

isVisibleTo(world, player, entity): boolean

Whether player may see entity: whether the player’s page holds it, which a result’s entities and an entity field pass through (Rule 3), so a result that names an entity the player does not hold reads null there, as a destroyed one does.

Parameter Type
world World
player Entity
entity Entity

boolean