UserInputService is primarily used to detect the input types available on a user's device, as well as detect input events.- Memory category
- Instances
- Own members
- 84
- Inherited members
- 75
- Subclasses
- 0
- Siblings
- 608
Properties49
Property categoryBehavior
- Determines if an
Instanceand its descendants can be cloned usingInstance:Clone(), and can be saved/published. - Deprecated: This deprecated property is a variant of
Instance.Archivablewhich should be used instead.Use Archivable instead.
Property categoryData
Property categoryPermissions
- The set of capabilities allowed to be used for scripts inside this container.
- Indicates whether the instance is inside a sandboxed container.
- When enabled, the instance can only access abilities in its
Capabilitieslist.
Defined byUserInputService26
Property categoryBehavior
UserInputService.LegacyInputEventsEnabled: boolean UserInputService.ModalEnabled: boolean Deprecated: This item has been superseded byGuiService.TouchControlsEnabledwhich should be used in all new work.
Toggles whether Roblox's mobile controls are hidden on mobile devices.Use TouchControlsEnabled instead.
Property categoryData
UserInputService.AccelerometerEnabled: boolean Describes whether the user's device has an accelerometer.UserInputService.BottomBarSize: Vector2 UserInputService.GamepadEnabled: boolean Describes whether the user's device has an available gamepad.UserInputService.GyroscopeEnabled: boolean Describes whether the user's device has a gyroscope.UserInputService.KeyboardEnabled: boolean Describes whether the user's device has a keyboard available.UserInputService.MouseBehavior: Enum.MouseBehavior Determines whether the user's mouse can be moved freely or is locked.UserInputService.MouseDeltaSensitivity: number Scales the delta (change) output of the user'sMouse.UserInputService.MouseEnabled: boolean Describes whether the user's device has a mouse available.UserInputService.MouseIcon: string The content ID of the image for the user's mouse icon.UserInputService.MouseIconContent: Content The content ID of the image for the user's mouse icon. Only supports asset URIs.UserInputService.MouseIconEnabled: boolean Determines whether the mouse icon is visible.UserInputService.OnScreenKeyboardAnimationDuration: number UserInputService.OnScreenKeyboardPosition: Vector2 Determines the position of the on-screen keyboard.UserInputService.OnScreenKeyboardSize: Vector2 Determines the size of the on-screen keyboard.UserInputService.OnScreenKeyboardVisible: boolean Describes whether an on-screen keyboard is currently visible on the user's screen.UserInputService.OverrideMouseIconBehavior: Enum.OverrideMouseIconBehavior UserInputService.PreferredInput: Enum.PreferredInput Queries the primary input type a player is using, based on anticipated user behavior.UserInputService.RightBarSize: Vector2 UserInputService.StatusBarSize: Vector2 UserInputService.TouchEnabled: boolean Describes whether the user's device has a touch screen available.UserInputService.TouchScreenEnabled: boolean Describes whether the user's device has a touch screen, reflecting the device's true hardware capability.UserInputService.VREnabled: boolean Indicates whether the user is using a virtual reality headset.UserInputService.UserHeadCFrame: CFrame Deprecated: This item has been superseded byUserInputService:GetUserCFrame()which should be used in all new work.
Describes the orientation and position of a user's head, if they are actively using a virtual reality headset.
No properties match the filters.
Methods72
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
- Applies a tag to the instance.
Parameters Parameter Description tag: stringThe tag to apply to the instance. - This method destroys all of an instance's children.
- Create a copy of an instance and all its descendants, ignoring instances that are not
Archivable.Returns Type Description InstanceA copy of the instance, ornilif the instance is notArchivable. - Sets the
Instance.Parentproperty tonil, locks theInstance.Parentproperty, disconnects all connections, and callsDestroy()on all children. Instance:FindFirstAncestor( name: string): Instance Returns the first ancestor of theInstancewhoseInstance.Nameis equal to the given name.Parameters Parameter Description name: stringTheInstance.Nameto be looked for.Instance:FindFirstAncestorOfClass( className: string): Instance Returns the first ancestor of theInstancewhoseObject.ClassNameis equal to the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstAncestorWhichIsA( className: string): Instance Returns the first ancestor of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChild( name: string, recursive: boolean? = false): Instance Returns the first child of theInstancefound with the given name.Parameters Parameter Description name: stringTheInstance.Nameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstChildOfClass( className: string): Instance Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChildWhichIsA(className: string,recursive: boolean? = false,): Instance Returns the first child of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstDescendant( name: string): Instance Returns the first descendant found with the givenInstance.Name.Parameters Parameter Description name: stringTheInstance.Nameto search for.- Returns the
Actorassociated with the Instance, if any. Instance:GetAttribute( attribute: string): any Returns the value which has been assigned to the given attribute name.Parameters Parameter Description attribute: stringThe name of the attribute being retrieved.Returns Type Description anyThe value which has been assigned to the given attribute name. If no attribute has been assigned,nilis returned.Instance:GetAttributeChangedSignal( attribute: string): RBXScriptSignal Returns an event that fires when the given attribute changes.Parameters Parameter Description attribute: stringThe name of the specified attribute for which the change signal is being returned.Returns Type Description RBXScriptSignalAn event that fires when the given attribute changes.- Returns a dictionary of the instance's attributes.
Returns Type Description { [string]: any }A dictionary of string → variant pairs for each attribute where the string is the name of the attribute and the variant is a non-nil value. - Returns an array containing all of the instance's children.
Returns Type Description { Instance }An array containing the instance's children. Instance:GetDebugId( scopeLength: number? = 4): string Returns a coded string of the debug ID used internally by Roblox.Parameters Parameter Description scopeLength: number? = 4The scope length.Returns Type Description stringThe Debug ID string.- Returns an array containing all of the descendants of the instance.
Returns Type Description { Instance }An array containing the instance's descendants. - Returns a string describing the instance's ancestry.
- Returns the styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
Parameters Parameter Description name: stringName of the property to query.selector: string?Optional selector for the pseudo instance you are targeting on the instance.Returns Type Description anyThe styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified. Instance:GetStyledPropertyChangedSignal( property: string): RBXScriptSignal Returns an event that fires when the given style property changes on the instance.Parameters Parameter Description property: stringName of the style property for which to listen for changes.Returns Type Description RBXScriptSignalEvent that fires when the given style property changes.- Gets an array of all tags applied to the instance.
Returns Type Description { any }An array of strings, each representing a tag applied to the instance. - Check whether the instance has a given tag.
Parameters Parameter Description tag: stringThe tag to check for on the instance.Returns Type Description booleantrueif the instance has the given tag,falseotherwise. Instance:IsAncestorOf( descendant: Instance): boolean Returns true if anInstanceis an ancestor of the given descendant.Instance:IsDescendantOf( ancestor: Instance): boolean Returnstrueif anInstanceis a descendant of the given ancestor.Instance:IsPropertyModified( property: string): boolean Returnstrueif the value stored in the specified property is not equal to the code-instantiated default.Parameters Parameter Description property: stringName of the property to query.Returns Type Description booleanBoolean indicating whether the property is modified from its code‑instantiated default.Instance:QueryDescendants( selector: string): { Instance } Returns an array containing all descendants of the instance that match theselectorstring.Parameters Parameter Description selector: stringSelector string used to filter elements.Returns Type Description { Instance }An array of instances (empty if nothing matched the selector).- Removes a tag from the instance.
Parameters Parameter Description tag: stringThe tag to remove from the instance. Instance:ResetPropertyToDefault( property: string) Resets a property to its default value.Parameters Parameter Description property: stringName of the property to reset.Instance:SetAttribute( attribute: string, value: any) Sets the attribute with the given name to the given value.Instance:WaitForChild( childName: string, timeOut: number): Instance Returns the child of theInstancewith the given name. If the child does not exist, it will yield the current thread until it does.Parameters Parameter Description childName: stringTheInstance.Nameto be looked for.timeOut: numberAn optional time out parameter.- Deprecated: This item is deprecated in favor of
Instance:Destroy()andInstance:ClearAllChildren(). If you must remove an object from the game, and wish to use the object later, set itsParentproperty tonilinstead of using this method.
Sets the object'sParenttonil, and does the same for all its descendants. - Deprecated: This item has been superseded by
Instance:GetChildren()which should be used in all new work.
Returns an array of the object's children.Returns Type Description { Instance }Array of child objects/instances.Use GetChildren instead.
- Deprecated: This deprecated function is a variant of
Instance:Clone()which should be used instead.Returns Type InstanceUse Clone instead.
- Deprecated: This deprecated function is a variant of
Instance:Destroy()which should be used instead.Use Destroy instead.
Instance:findFirstChild( name: string, recursive: boolean? = false): Instance Deprecated: This deprecated function is a variant ofInstance:FindFirstChild()which should be used instead.Returns Type InstanceUse FindFirstChild instead.
- Deprecated: This deprecated function is a variant of
Instance:GetChildren()which should be used instead.Returns Type { Instance }Use GetChildren instead.
Instance:isDescendantOf( ancestor: Instance): boolean Deprecated: This deprecated function is a variant ofInstance:IsDescendantOf()which should be used instead.Parameters Parameter ancestor: InstanceReturns Type booleanUse IsDescendantOf instead.
- Deprecated: This deprecated function is a variant of
Instance:Remove()which has also been deprecated. Neither function should be used in new work.Use Remove instead.
Defined byUserInputService30
UserInputService:CreateVirtualInput( ): Object Creates aVirtualInputobject for simulating mouse, keyboard, and pointer input.Returns Type Description ObjectA newVirtualInputobject, ornilif the feature is not available.UserInputService:GamepadSupports(gamepadNum: Enum.UserInputType,gamepadKeyCode: Enum.KeyCode,): boolean Returns whether the givenUserInputTypegamepad supports a button corresponding with the givenKeyCode.Parameters Parameter Description gamepadNum: Enum.UserInputTypeTheUserInputTypeof the gamepad.gamepadKeyCode: Enum.KeyCodeTheKeyCodeof the button in question.Returns Type Description booleanWhether the given gamepad supports a button corresponding with the givenKeyCode.UserInputService:GetConnectedGamepads( ): { any } Returns an array ofUserInputTypegamepads currently connected.Returns Type Description { any }An array ofUserInputTypescorresponding with the gamepads connected to the user's device.UserInputService:GetDeviceAcceleration( ): InputObject Returns anInputObjectthat describes the device's current acceleration.Returns Type Description InputObjectAnInputObjectdescribing the device's current acceleration, withPositionrepresenting the acceleration force on each local device axis.UserInputService:GetDeviceGravity( ): InputObject Returns anInputObjectdescribing the device's current gravity vector.Returns Type Description InputObjectAnInputObjectdescribing the device's current gravity vector, withPositionrepresenting the force of gravity on each local device axis.UserInputService:GetDeviceLevel( ): Enum.DeviceLevel Returns Type Enum.DeviceLevelUserInputService:GetDeviceRotation( ): ...any Returns anInputObjectand aCFramedescribing the device's current rotation vector.UserInputService:GetDeviceType( ): Enum.DeviceType Returns Type Enum.DeviceTypeUserInputService:GetFocusedTextBox( ): TextBox Returns theTextBoxthe client is currently focused on.UserInputService:GetGamepadConnected( gamepadNum: Enum.UserInputType): boolean Returns whether a gamepad with the givenUserInputTypeis connected.Parameters Parameter Description gamepadNum: Enum.UserInputTypeTheUserInputTypeof the gamepad in question.Returns Type Description booleanWhether a gamepad associated withUserInputTypeis connected.UserInputService:GetGamepadState( gamepadNum: Enum.UserInputType): { Instance } Returns an array ofInputObjectsfor all available inputs on the given gamepad, representing each input's last input state.Parameters Parameter Description gamepadNum: Enum.UserInputTypeTheUserInputTypecorresponding with the gamepad in question.Returns Type Description { Instance }An array ofInputObjectsrepresenting the current state of all available inputs for the given gamepad.UserInputService:GetImageForKeyCode( keyCode: Enum.KeyCode): string Returns an image for the requestedKeyCode.Parameters Parameter Description keyCode: Enum.KeyCodeTheKeyCodefor which to fetch the associated image.Returns Type Description stringThe returned image asset ID.UserInputService:GetKeysPressed( ): { Instance } Returns an array ofInputObjectsassociated with thekeyscurrently being pressed down.Returns Type Description { Instance }An array ofInputObjectsassociated with the keys currently being pressed.UserInputService:GetLastInputType( ): Enum.UserInputType Returns theUserInputTypeassociated with the user's most recent input.Returns Type Description Enum.UserInputTypeTheUserInputTypeassociated with the user's most recent input.UserInputService:GetMouseButtonsPressed( ): { Instance } Returns an array ofInputObjectsassociated with the mouse buttons currently being held down.Returns Type Description { Instance }An array ofInputObjectscorresponding to the mouse buttons currently being currently held down.UserInputService:GetMouseDelta( ): Vector2 Returns the change, in pixels, of the position of the player'sMousein the last rendered frame. Only works if the mouse is locked.Returns Type Description Vector2Change in movement of the mouse.UserInputService:GetMouseLocation( ): Vector2 Returns the current screen location of the player'sMouserelative to the top-left corner of the screen.UserInputService:GetPasteText( ): string Returns Type stringUserInputService:GetPlatform( ): Enum.Platform Returns Type Enum.PlatformUserInputService:GetStringForKeyCode(keyCode: Enum.KeyCode,format: Enum.KeyCodeStringFormat? = Enum.KeyCodeStringFormat.Default,): string Returns a string representing a key the user should press in order to input a givenKeyCode, optionally in an abbreviated format.Parameters Parameter Description keyCode: Enum.KeyCodeTheKeyCodeto get the display string for.format: Enum.KeyCodeStringFormat? = Enum.KeyCodeStringFormat.DefaultAnKeyCodeStringFormatvalue that controls the format of the returned string. Defaults toKeyCodeStringFormat.Default. PassKeyCodeStringFormat.Abbreviatedto get shortened labels suitable for compact UI such as"Bksp","LCtrl", or"Esc".Returns Type Description stringA string representing the key the user should press for the given key code, formatted according to the specifiedKeyCodeStringFormat.UserInputService:GetSupportedGamepadKeyCodes( gamepadNum: Enum.UserInputType): { any } Returns an array ofKeyCodesthat the gamepad associated with the givenUserInputTypesupports.Parameters Parameter Description gamepadNum: Enum.UserInputTypeTheUserInputTypeof the gamepad.Returns Type Description { any }An array ofKeyCodessupported by the given gamepad.UserInputService:IsGamepadButtonDown(gamepadNum: Enum.UserInputType,gamepadKeyCode: Enum.KeyCode,): boolean Determines whether a particular button is pressed on a gamepad.Parameters Parameter Description gamepadNum: Enum.UserInputTypeTheUserInputTypeof the given gamepad.gamepadKeyCode: Enum.KeyCodeTheKeyCodeof the specified gamepad button.Returns Type Description booleanWhether the specified button on the given gamepad is pressed is pressed.UserInputService:IsKeyDown( keyCode: Enum.KeyCode): boolean Returns whether the givenkeyis currently held down.Parameters Parameter Description keyCode: Enum.KeyCodeTheKeyCodeof the key.Returns Type Description booleanWhether the specified key is being held down.UserInputService:IsMouseButtonPressed( mouseButton: Enum.UserInputType): boolean Returns whether the given mouse button is currently held down.Parameters Parameter Description mouseButton: Enum.UserInputTypeTheUserInputTypeof the mouse button.Returns Type Description booleanWhether the given mouse button is currently held down.- Recenters the
CFrameof the VR headset to the current orientation of the headset worn by the user. UserInputService:GetUserCFrame( type: Enum.UserCFrame): CFrame Deprecated: UseVRService:GetUserCFrame()instead.
Returns aCFramedescribing the position and orientation of a specified virtual reality device.Parameters Parameter Description type: Enum.UserCFrameTheUserCFramecorresponding to the VR device.Returns Type Description CFrameACFramedescribing the position and orientation of the specified VR device.Use GetUserCFrame instead.
No methods match the filters.
Events38
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
Instance.AncestryChanged: RBXScriptSignal<( child: Instance, parent: Instance)> Fires when theInstance.Parentproperty of this object or one of its ancestors is changed.Instance.AttributeChanged: RBXScriptSignal<( attribute: string)> Fires whenever an attribute is changed on theInstance.Parameters Parameter attribute: stringInstance.ChildAdded: RBXScriptSignal<( child: Instance)> Fires after an object is parented to thisInstance.Parameters Parameter child: InstanceInstance.ChildRemoved: RBXScriptSignal<( child: Instance)> Fires after a child is removed from thisInstance.Parameters Parameter child: InstanceInstance.DescendantAdded: RBXScriptSignal<( descendant: Instance)> Fires after a descendant is added to theInstance.Parameters Parameter descendant: InstanceInstance.DescendantRemoving: RBXScriptSignal<( descendant: Instance)> Fires immediately before a descendant of theInstanceis removed.Parameters Parameter descendant: Instance- Fires immediately before (or is deferred until after) the instance is destroyed via
Instance:Destroy(). - Fires whenever any style property is changed on the instance, including when a property is set to
nil. Instance.childAdded: RBXScriptSignal<( child: Instance)> Deprecated: This deprecated event is a variant ofInstance.ChildAddedwhich should be used instead.Parameters Parameter child: InstanceUse ChildAdded instead.
Defined byUserInputService28
UserInputService.DeviceAccelerationChanged: RBXScriptSignal<( acceleration: InputObject)> Fires when a user moves a device that has an accelerometer.Parameters Parameter acceleration: InputObjectUserInputService.DeviceGravityChanged: RBXScriptSignal<( gravity: InputObject)> Fires when the force of gravity changes on a device that has an enabled accelerometer.Parameters Parameter gravity: InputObjectUserInputService.DeviceRotationChanged: RBXScriptSignal<(rotation: InputObject,cframe: CFrame,)> Fires when a user rotates a device that has a gyroscope.Parameters Parameter rotation: InputObjectcframe: CFrameUserInputService.GamepadConnected: RBXScriptSignal<( gamepadNum: Enum.UserInputType)> Fires when a gamepad is connected to the client.Parameters Parameter gamepadNum: Enum.UserInputTypeUserInputService.GamepadDisconnected: RBXScriptSignal<( gamepadNum: Enum.UserInputType)> Fires when a gamepad is disconnected from the client.Parameters Parameter gamepadNum: Enum.UserInputTypeUserInputService.InputBegan: RBXScriptSignal<(input: InputObject,gameProcessedEvent: boolean,)> Fires when a user begins interacting with an input device such as a mouse or gamepad.Parameters Parameter input: InputObjectgameProcessedEvent: booleanUserInputService.InputChanged: RBXScriptSignal<(input: InputObject,gameProcessedEvent: boolean,)> Fires when a user changes how they're interacting with an input device such as a mouse or gamepad.Parameters Parameter input: InputObjectgameProcessedEvent: booleanUserInputService.InputEnded: RBXScriptSignal<(input: InputObject,gameProcessedEvent: boolean,)> Fires when a user stops interacting with an input device such as a mouse or gamepad.Parameters Parameter input: InputObjectgameProcessedEvent: booleanUserInputService.JumpRequest: RBXScriptSignal<( )> Fires whenever the client makes a request for their character to jump.UserInputService.LastInputTypeChanged: RBXScriptSignal<( lastInputType: Enum.UserInputType)> Fires whenever the client'sUserInputTypeis changed.Parameters Parameter lastInputType: Enum.UserInputTypeUserInputService.PointerAction: RBXScriptSignal<(wheel: number,pan: Vector2,pinch: number,gameProcessedEvent: boolean,)> Fires when the user performs a specific pointer action.UserInputService.StatusBarTapped: RBXScriptSignal<( position: Vector2)> Parameters Parameter position: Vector2UserInputService.TextBoxFocused: RBXScriptSignal<( textboxFocused: TextBox)> Fires when the client focuses on aTextBox.Parameters Parameter textboxFocused: TextBoxUserInputService.TextBoxFocusReleased: RBXScriptSignal<( textboxReleased: TextBox)> Fires when the client loses focus on aTextBox.Parameters Parameter textboxReleased: TextBoxUserInputService.TouchDrag: RBXScriptSignal<(dragDirection: Enum.SwipeDirection,numberOfTouches: number,gameProcessedEvent: boolean,)> Fires when the user drags on the screen of aTouchEnableddevice.Parameters Parameter dragDirection: Enum.SwipeDirectionnumberOfTouches: numbergameProcessedEvent: booleanUserInputService.TouchEnded: RBXScriptSignal<(touch: InputObject,gameProcessedEvent: boolean,)> Fires when a user releases their finger from the screen of aTouchEnableddevice.Parameters Parameter touch: InputObjectgameProcessedEvent: booleanUserInputService.TouchLongPress: RBXScriptSignal<(touchPositions: { any },state: Enum.UserInputState,gameProcessedEvent: boolean,)> Fires when a user holds at least one finger for a short amount of time on the screen of aTouchEnableddevice.Parameters Parameter touchPositions: { any }state: Enum.UserInputStategameProcessedEvent: booleanUserInputService.TouchMoved: RBXScriptSignal<(touch: InputObject,gameProcessedEvent: boolean,)> Fires when a user moves their finger on the screen of aTouchEnableddevice.Parameters Parameter touch: InputObjectgameProcessedEvent: booleanUserInputService.TouchPan: RBXScriptSignal<(touchPositions: { any },totalTranslation: Vector2,velocity: Vector2,state: Enum.UserInputState,gameProcessedEvent: boolean,)> Fires when the user drags at least one finger on the screen of aTouchEnableddevice.Parameters Parameter touchPositions: { any }totalTranslation: Vector2velocity: Vector2state: Enum.UserInputStategameProcessedEvent: booleanUserInputService.TouchPinch: RBXScriptSignal<(touchPositions: { any },scale: number,velocity: number,state: Enum.UserInputState,gameProcessedEvent: boolean,)> Fires when a user performs a pinch gesture on the screen of aTouchEnableddevice.Parameters Parameter touchPositions: { any }scale: numbervelocity: numberstate: Enum.UserInputStategameProcessedEvent: booleanUserInputService.TouchRotate: RBXScriptSignal<(touchPositions: { any },rotation: number,velocity: number,state: Enum.UserInputState,gameProcessedEvent: boolean,)> Fires when a user rotates two fingers on the screen of aTouchEnableddevice.Parameters Parameter touchPositions: { any }rotation: numbervelocity: numberstate: Enum.UserInputStategameProcessedEvent: booleanUserInputService.TouchStarted: RBXScriptSignal<(touch: InputObject,gameProcessedEvent: boolean,)> Fires when a user places their finger on the screen of aTouchEnableddevice.Parameters Parameter touch: InputObjectgameProcessedEvent: booleanUserInputService.TouchSwipe: RBXScriptSignal<(swipeDirection: Enum.SwipeDirection,numberOfTouches: number,gameProcessedEvent: boolean,)> Fires on aTouchEnableddevice when a user places their finger(s) down on the screen, pans across the screen, and lifts their finger(s) off with a certain speed of movement.Parameters Parameter swipeDirection: Enum.SwipeDirectionnumberOfTouches: numbergameProcessedEvent: booleanUserInputService.TouchTap: RBXScriptSignal<(touchPositions: { any },gameProcessedEvent: boolean,)> Fires when a user taps their finger on the screen of aTouchEnableddevice.UserInputService.TouchTapInWorld: RBXScriptSignal<(position: Vector2,processedByUI: boolean,)> Fires when a user taps their finger on the screen of aTouchEnableddevice and the tap location is in the 3D world.UserInputService.WindowFocused: RBXScriptSignal<( )> Fires when the window of the Roblox client gains focus on the user's screen.UserInputService.WindowFocusReleased: RBXScriptSignal<( )> Fires when the window of the Roblox client loses focus on the user's screen.UserInputService.UserCFrameChanged: RBXScriptSignal<(type: Enum.UserCFrame,value: CFrame,)> Deprecated: UseVRService.UserCFrameChangedinstead.
Fires when theCFrameof a specified Virtual Reality device changes.Parameters Parameter type: Enum.UserCFramevalue: CFrameUse UserCFrameChanged instead.
No events match the filters.