Skip to main content

InputRef

Object representing an input instance

Properties

id

InputRef.id: string

Get the input identifier

value

InputRef.value: boolean | number

Get the current input state

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "id",
            "desc": "Get the input identifier",
            "lua_type": "string",
            "source": {
                "line": 13,
                "path": "../../res/data/script/lib/system/input_ref.lua"
            }
        },
        {
            "name": "value",
            "desc": "Get the current input state",
            "lua_type": "boolean|number",
            "source": {
                "line": 20,
                "path": "../../res/data/script/lib/system/input_ref.lua"
            }
        }
    ],
    "types": [],
    "name": "InputRef",
    "desc": "Object representing an input instance",
    "source": {
        "line": 5,
        "path": "../../res/data/script/lib/system/input_ref.lua"
    }
}