Skip to content

IsDisabledControlPressed

Input.IsDisabledControlPressed(group, id)
This function checks if the key is not being pressed.

Arguments

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

Dependency

local Input = M('input')

Example

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

Improve this documentation