UserInputService
UserInputService : Instance
Properties
Methods
Events
TouchStarted
Fires when the user begins touching the screen of a touch-enabled device.
Parameters
InputObject
InputObject
The touch input object containing data about the touch event.
bool
bGameProcessed
Indicates if the touch event was already processed by the game.
Code Samples
TouchMoved
Fires when the user's touch moves across the screen.
Parameters
InputObject
InputObject
The touch input object containing data about the movement.
bool
bGameProcessed
Indicates if the movement event was already processed by the game.
Code Samples
TouchEnded
Fires when the user lifts their finger and stops touching the screen of a touch-enabled device.
Parameters
InputObject
InputObject
The touch input object containing data about the end of the touch.
bool
bGameProcessed
Indicates if the touch event was already processed by the game.
Code Samples
InputBegan
Fires when the user begins interacting with an input device (e.g., a key or mouse button is pressed).
Parameters
InputObject
InputObject
The input object containing data about the interaction.
bool
bGameProcessed
Indicates if the input event was already processed by the game.
Code Samples
InputChanged
Fires when the user changes an input, such as moving a mouse or dragging on a touch screen.
Parameters
InputObject
InputObject
The input object containing data about the change in input.
bool
bGameProcessed
Indicates if the input event was already processed by the game.
Code Samples
InputEnded
Fires when the user stops interacting with an input device (e.g., a key or mouse button is released).
Parameters
InputObject
InputObject
The input object containing data about the end of the interaction.
bool
bGameProcessed
Indicates if the input event was already processed by the game.
Code Samples
Last updated