OnTouchScreenMove||doc136866

September 20, 2022

Format

local event = Event:GetEvent("OnTouchScreenMove")

Describe

This event is emitted when touching the screen and dragging.

Callback function parameters

Type name introduce
Vector2 pos Touch screen coordinates

Code example

local event = Event:GetEvent("OnTouchScreenMove")
event:Bind(function(pos)
    print("OnTouchScreenMove", pos)
end)