1 min read

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

NameValueDescription
None0The VirtualInputManager is idle and neither recording nor playing back input.
Recording1The VirtualInputManager is actively capturing input events into a sequence.
Playing2The VirtualInputManager is replaying a previously recorded input sequence.

None

The VirtualInputManager is idle and neither recording nor playing back input.

FieldValue
value0

Recording

The VirtualInputManager is actively capturing input events into a sequence.

FieldValue
value1

Playing

The VirtualInputManager is replaying a previously recorded input sequence.

FieldValue
value2