Skip to content

marble3 / restoreInput

Function: restoreInput() ​

restoreInput(player, cursor?): void

Defined in: src/input-lock.ts:15

Gives control back after suspendInput. The pointer is not locked again until the player asks.

Parameters ​

player ​

Player

cursor? ​

LookAtCursor

Returns ​

void