InputObject : Instance
The InputObject
class represents a single user input, such as mouse movement, key presses, touch interactions, or gamepad inputs. It is created when an input begins and persists throughout the lifetime of that input, updating its properties as the input changes. This class is essential for handling and tracking user interactions.
The InputObject
class provides detailed information about a specific user input event. It is used in conjunction with services like UserInputService
and ContextActionService
, as well as GUI-related events, to detect and respond to user actions.
Vector3
Delta is a property of type vector3
representing the change in position or movement primarily used to track touch movements.
Enum.KeyCode
KeyCode is a property of type Enum.KeyCode
representing the specific key or button pressed during user input events.
Vector3
Position is a property representing the positional value or current location of an input event.
Enum.UserInputState
UserInputState indicates the current state of an input being performed, which may include pressed, released, held, pending, or other distinct stages defined by the associated UserInputType.
Enum.UserInputType
UserInputType is an enumeration representing the type of user input, such as mouse, keyboard, gamepad, or touch.