Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VirtualInputMode
Describes the current operational state of a VirtualInputManager. The service reports a value from this enum to indicate whether it is idle, actively capturing input events, or replaying a previously captured sequence. Transitions are driven by calls to StartRecording(), StopRecording(), StartPlaying(), and StopPlaying().
Items
| Name | Value | Description |
|---|---|---|
| None | 0 | The VirtualInputManager is idle and neither recording nor playing back input. |
| Recording | 1 | The VirtualInputManager is actively capturing input events into a sequence. |
| Playing | 2 | The VirtualInputManager is replaying a previously recorded input sequence. |
None
The VirtualInputManager is idle and neither recording nor playing back input.
| Field | Value |
|---|---|
| value | 0 |
Recording
The VirtualInputManager is actively capturing input events into a sequence.
| Field | Value |
|---|---|
| value | 1 |
Playing
The VirtualInputManager is replaying a previously recorded input sequence.
| Field | Value |
|---|---|
| value | 2 |