PointerZoom Input Action

Status

Complete

PointerZoom is an Input Action that reports pinch gestures when using Virtual Pointer on mobile, so developers can build pinch-to-zoom for cameras, maps, or any custom response.

PointerZoom is an Input Action that reports each pinch made when using Virtual Pointer. The Input Action is tied to the middle mouse wheel when playing on keyboard/mouse and to the right joystick’s y-axis when playing on gamepad. It’s for developers building mobile experiences that depend on zooming, such as a build view, a map, or a tower-defense battlefield, who previously could not implement pinch-to-zoom at all. PointerZoom reports the gesture only; the response to it is authored in Verse.