API:Class/InputObject

Client only:This object is client-side only! You should use a LocalScript instead of a Script when using it.
Filtered-inheritance mode: While this class technically inherits all Instance class members, some (if not all) have been hidden because they serve no purpose for this object.
Uncreatable: This object cannot be created with Instance.new.

Clickdetector icon.pngInputObject : Object Icon.pngInstance

An object that describes a particular user input, such as mouse movement, touches, keyboard, and more. InputObjects are created when an input begins. The Changed event may fire as the user changes the input in question.

Properties

Properties [toggle]

Vector3Delta

A Vector3 describing the Delta between mouse/joystick movements.

|RMD member="API:Class/InputObject/Delta"|A Vector3 describing the Delta between mouse/joystick movements.|/RMD|
KeyCodeKeyCode

Contains an Enum that describes the kind of input used.

|RMD member="API:Class/InputObject/KeyCode"|Contains an Enum that describes the kind of input used.|/RMD|
Vector3Position

Describes a positional value of this input.

|RMD member="API:Class/InputObject/Position"|Describes a positional value of this input.|/RMD|
UserInputStateUserInputState

The state of the user's input.

|RMD member="API:Class/InputObject/UserInputState"|The state of the user's input.|/RMD|
UserInputTypeUserInputType

The type of user input.

|RMD member="API:Class/InputObject/UserInputType"|The type of user input.|/RMD|
A Vector3 describing the Delta between mouse/joystick movements.
Contains an Enum that describes the kind of input used.
Describes a positional value of this input.
The state of the user's input.
The type of user input.


Events

Events [toggle]

Inherited from Object Icon.pngInstance:
Changed ( string property )

Fires after a property of the object changes.

|RMD member="API:Class/Instance/Changed"|Fires after a property of the object changes.|/RMD|
Changed ( string property )
Fires after a property of the object changes.

|RMD member="API:Class/InputObject"|An object that describes a particular user input, such as mouse movement, touches, keyboard, and more. InputObjects are created when an input begins. The Changed event may fire as the user changes the input in question. |/RMD|