Skip to content

five-on-it / packages/protocol/src/messages / heldInput

Function: heldInput() ​

heldInput(input): VehicleInput

Defined in: packages/protocol/src/messages.ts:829

An input held while a run has not gone live (its gathering, its countdown): the car braked where it stands, nothing pressed, the aim, the slot and the phone kept. The game server runs the players' ticks on it, and the client predicts on it too, so nothing is corrected.

Parameters ​

input ​

VehicleInput

Returns ​

VehicleInput