TouchMoved

Constructor:

TouchMoved(Touch, false)

Description

This event is triggered when the user moves a finger on the touch device.

Parameters

Variable name Type Default Description
struct Touch strut
Pan distance
Pan speed (pixel/second)
UserInputState Enum.UserInputState Input type state

Examples

When the user moves a finger on the touch device, observe whether the event is printed or not

UserInputService.TouchMoved:Connect(function() 
    print("The event that the user moves a finger on the touch device is triggered")
end)