SetInputDevice()
Set Input Device
Select auto, mouse-keyboard, gamepad or touch input mode.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Input Device device | Choose: auto, mouse-keyboard, gamepad, touch. | "auto" |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetInputDevice({"device": "auto"})In use. Choose Auto for normal play or force Gamepad while testing controller prompts. Forcing a device is not a substitute for having usable bindings and an actual controller available.
SetProximityInteractionEnabled()#
Proximity Interaction
Enable or disable nearest/proximity-based interaction.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Enabled enabled | Explicit on/off state for the feature or response. | true |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetProximityInteractionEnabled({"enabled": true})In use. Enable it for controller play in a small room. Check proximity radius, hotspot eligibility and line-of-play expectations so the nearest usable target is the one the player expects.
