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

isAimingThroughCrosshair

isAimingThroughCrosshair(world): boolean

Whether a shot goes through the crosshair: under a mouse’s capture, or under the touch lock. isCursorCaptured keeps meaning the browser’s own capture. The engine’s own field for the same fact is a shot’s throughCrosshair.

Parameter Type
world World

boolean