# Mobile Gesture Pinch INput

**URL:** <https://forums.unrealengine.com/t/mobile-gesture-pinch-input/438053>\
**Category:** Mobile\
**Tags:** zoom, Mobile, Input, unreal-engine, question\
**Created:** [November 21, 2018, 5:30pm UTC](https://forums.unrealengine.com/t/mobile-gesture-pinch-input/438053 "2018-11-21T17:30:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefan0198](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stefan0198](https://forums.unrealengine.com/u/stefan0198)\
**Post date:** [November 21, 2018, 5:30pm UTC](https://forums.unrealengine.com/t/mobile-gesture-pinch-input/438053/1 "2018-11-21T17:30:13Z")

</div>

I want to setup a pinch to zoom input method for mobile devices, but the pinch axis always has the value 0.

This is my setup:

![260085-pinchaxis.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/6/6c6e9edcdf6051e9ecc37e9e9365dc1b2ddc89ae.png)

![260086-pinchtick.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/d/e4d2695cdbfc8616b2c1db99d72f4084ac309788.png)

Now this always outputs 0.  
The Mouse Wheel Axis is working as expected.

I have also tried it with an event, but it doesn’t change anything.

![260088-touchpinchevent.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/0/2105dd94700b9fa226b22aaf9b5258b7ffbef3be.png)

Is this a bug in the Pinch Axis or am I missing something?

---

<div class="post-metadata">

**Author:** ![stefan0198](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stefan0198](https://forums.unrealengine.com/u/stefan0198)\
**Post date:** [November 29, 2018, 1:52pm UTC](https://forums.unrealengine.com/t/mobile-gesture-pinch-input/438053/2 "2018-11-29T13:52:23Z")

</div>

I am still having the same issue. Btw: This code is in my Pawn (if this information helps).

---

<div class="post-metadata">

**Author:** ![NKei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NKei](https://forums.unrealengine.com/u/NKei)\
**Post date:** [December 7, 2018, 1:20am UTC](https://forums.unrealengine.com/t/mobile-gesture-pinch-input/438053/3 "2018-12-07T01:20:51Z")

</div>

You need to check “Enable Gesture Recognizer” in your project setting(Engine-\>Input-\>Mobile).  
In this way i solved the same problem

---

<div class="post-metadata">

**Author:** ![SpaceCat86](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spacecat86/32/634357_2.png) [@SpaceCat86](https://forums.unrealengine.com/u/SpaceCat86)\
**Post date:** [May 8, 2019, 4:09pm UTC](https://forums.unrealengine.com/t/mobile-gesture-pinch-input/438053/4 "2019-05-08T16:09:32Z")

</div>

I ran into a similar issue. Thanks for sharing this. I wasn’t aware of this.
