TouchTapInGame

Constructor:

TouchTapInGame(Touch.position, false)

Description

This event is triggered when the user tapping event occurs in the game world.

Parameters

Variable name Type Default Description
Vector2 Coordinates of touch point

Examples

When the user tapping event occurs in the game world, observe whether the event is printed or not

UserInputService.TouchTapInGame:Connect(function() 
    print("The event that the user tapping event occurs in the game world is triggered")
end)