InputEnded

Constructor:

InputEnded(inputobject,bool)

Description

This event is triggered when the user input ends.

Parameters

Variable name Type Default Description
inputobject RWObject Inputobject object

Examples

When the user input ends, observe whether the event is printed

UserInputService.InputEnded:Connect(function(inputobject) 
    print("The event of input ending is triggered")
    print(tostring(inputobject.InputType))
    print(tostring(inputobject.InputState))
    print(tostring(inputobject.InputKeyCode))
end)