set_control_setting()
Set Control Setting | Action ID: SetControlSetting
Change one supported runtime control setting with a value of the matching type.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Setting setting | Choose: enabled, cursorAdaptation, cyclingEnabled, movementProfile, autoSwitchInput, inputDevice, autoSwitchMovement, mouseProfile, gamepadProfile, touchProfile, proximityInteraction, proximityRadius, showHints, controllerIcons, coinEnabled, dragThreshold, gamepadLookSpeed. | "coinEnabled" |
| Value value | A value of the type required by the selected variable, operation or property. | true |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
set_control_setting({"setting": "coinEnabled", "value": true})In use. Set proximityRadius to a number or coinEnabled to a Boolean. The same Value box accepts different types depending on Setting; the text "false" is not the same as Boolean false.
get_control_state()#
Get Control State | Action ID: GetControlState
Read the current control-profile state and store it in a game variable.
| Option key / field | Meaning and accepted input | Default |
|---|---|---|
| Result Variable resultVariable | Name of the game variable that receives the returned value. Custom values are accepted. | Blank |
Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.
get_control_state({"resultVariable": ""})In use. Store controls_before before entering an inspection mode and inspect the returned state in a script. The result is structured state, not a single enabled flag or an automatic restore command.
