LastInputTypeChanged

Constructor:

LastInputTypeChanged(userInputType)

Description

This event is triggered when the user input type changes.

Parameters

Variable name Type Default Description
UserInputType enum Input device type

Examples

When the user input type has changed, observe whether the event is printed or not

UserInputService.LastInputTypeChanged:Connect(function() 
    print("The event that the user input type has changed is triggered")
end)
-- Notes: No responding to error reports