Declaration
public void OnUIDrag(Action callback)
Description
The joystick is triggered when a UI button is dragged.
local joyStick = ParaUIService.GetJoyStickControl(HandType.Left, UIType.MoveJoyStick)
joyStick:OnUIDrag(function(position)
print("position:x:" .. position.x ..",y:" .. position.y)
end)