Skip to content

DisableControl

Input.DisableControl(group, id)
This function makes the key disable.

Arguments

Argument Data Type Optional Default Value Explanation
group key No - Input groups
id key No - Controls

Dependency

local Input = M('input')

Example

Input.DisableControl(Input.Groups.MOVE, Input.Controls.PICKUP) -- [E]

Improve this documentation