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

LapLine

LapLine(): null

Makes the trigger of the nearest <Entity> a race’s lap line: a trigger collider, a <Trigger> or a <TrackTrigger>. Each racer who crosses it forward, along the entity’s -z, counts a lap of the Match the racer races in, the one laps wins; one who crosses it backward owes a lap, which the racer’s next forward crossing pays. A racer is the player behind what crossed, such as the kart the player drives. A line inside a match’s <Entity> counts that match’s racers alone.

null