Skip to content

raylib.GetGesturePinchVector

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get distance between two pinch points

Parameters

None.

Return value

Condition Return Value
(always) number

Notes

Example

if raylib.GetGestureDetected == raylib.GESTURE_PINCH_IN then
    v = raylib.GetGesturePinchVector
    print "Pinch vector: " + v[0] + ", " + v[1]
end if

Clone this wiki locally