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

readAimAt

readAimAt(world, camera, captured): Pick<AimReading, "captured" | "crosshair" | "shots">

Where the crosshair points now, and the shots the page sent; whether the cursor is captured, and what the aim assist does, are the page’s to say.

Parameter Type
world World
camera Camera
captured boolean

Pick<AimReading, "captured" | "crosshair" | "shots">