Skip to content

raylib.GetGesturePinchAngle

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get angle between two pinch points NOTE: Angle in degrees, horizontal-right is 0, counterclockwise

Parameters

None.

Return value

Condition Return Value
(always) number

Notes

Example

if raylib.GetGestureDetected == raylib.GESTURE_PINCH_IN then
    a = raylib.GetGesturePinchAngle
    print "Pinch angle: " + a + " degrees"
end if

Clone this wiki locally