TouchStarted

Constructor:

TouchStarted(Touch, false)

Description

This event is triggered when the user starts to touch.

Parameters

Variable name Type Default Description
struct strut

Examples

When the user touches on the touch device, observe whether the event is printed or not

UserInputService.TouchStarted:Connect(function() 
    print("The event that the user starts to touch is triggered")
end)