TouchTap

Constructor:

TouchTap(Touch.position)

Description

This event is triggered when the user taps on the touch device.

Parameters

Variable name Type Default Description
Vector2 Coordinates of touch point

Examples

When the user starts to tap on the touch device, observe whether the event is printed or not

UserInputService.TouchTap:Connect(function() 
    print("The event that the user taps on the touch device is triggered")
end)