On Drag

HUD
Client Side
Only PC
Owner:
UI Widget Touchpad

Triggered when sliding the touchpad. During sliding, this event is triggered once per frame.

Declaration

event OnDrag(player entity<Player>, startPosition Vector2, delta Vector2)
go

Parameters

Name Type Description
Player Player Trigger Player
Start Position Vector2 Start sliding position
Delta Vector2 Displacement