Skip to content

toggleInputBlock

Toggles blocking of game input while interacting with overlays.

Syntax

lua
Ham.toggleInputBlock(enabled)

Parameters

NameTypeDescription
enabledbooleantrue to block game input

Example

lua
Ham.toggleInputBlock(true) -- Block game input

See Also

Released under the ISC License.