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

hasLineOfSight

hasLineOfSight(world, looker, target): boolean

Whether nothing stands between the middle of looker and the middle of target, by the cover shots meet: what a game’s own ability checks before it strikes.

Parameter Type
world World
looker Entity
target Entity

boolean