Skip to content

InputEventScreenPinch

Federico Ciuffardi edited this page Apr 9, 2022 · 2 revisions

Description

Custom input event type for a pinch.

Properties

Type Name Description
Vector2 position Mean of the positions of the involved fingers in the last frame
float relative Change in the distance of the involved fingers to the mean of its positions on the current frame compared to the last frame
int fingers Number of involved fingers

Clone this wiki locally