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

AimPointTrait

const AimPointTrait: Trait<{ active: boolean; x: number; y: number; z: number; }>

The point a game’s aimAt last turned a character toward, and whether it still aims at it. While active, the step turns the character to face the point, over the player’s aim and the camera’s lock, and its steer walks it without turning it. Only aimAt writes it: the player’s own aim travels as characters.inputs.aim and never lands here. Written on the character, so a room streams it to every page and the dump shows it.