ToolClass.client_onToggle

Called when the Player presses a toggle key with the Tool equipped (default 'Q' and 'Shift' + 'Q).

Kind: Callback

Environments: Game

Game

Callback side: Client

ToolClass:client_onToggle(  )

Open the full Game reference

Parameters:

Name Type Description
self table The class instance.

Returns:

Type Description
boolean A boolean that indicates if other toggle actions should be blocked (rotating shapes). (Defaults to false)