Skip to content

function disableControls (client-side)

Available since version: 0.3.0

This functiuon will disable/enable default game actions that are bound to keys.

Declaration

boolean disableControls(boolean True)

Parameters

  • boolean True: when you want to disable game keys, otherwise false.

Returns boolean

True on success.