Allow to simulate pinch gesture in mobile device emulation

As a Roblox developer, it is currently impossible to simulate the pinch gesture in mobile device emulation:
image

https://developer.roblox.com/en-us/api-reference/event/UserInputService/TouchPinch

Currently, the input above is only possible to test in a real mobile device.

If Roblox is able to address this issue, it would improve my development experience because this will lessen the work to test, in addition to allowing you to debug the code inside Studio.

40 Likes

If this feature would be implemented it would drastically speed up testing on mobile, currently I have to publish and join on mobile in order to test certain pinching mechanics which is very frustrating. Mind you I have a terribly old phone and Roblox runs very poorly on it so it is hard to evaluate certain mechanics without the help of someone else. Some developers may not even have a smart phone so I can imagine they’d have to install a mobile emulator in order to test pinching.

I suggest pinching to be replicated through holding CTRL and scrolling in/out, a small feature that saves such a significant amount of time.

3 Likes

We really need an update on the mobile emulation. I always get bugs related to mobile support simply because the emulator is not a good representation of what a mobile device would be like. I prepose these changes:

  • WASD will cause mouse movements on the movement stick
  • Space will cause mouse events on the jump button
  • ESC will cause events on the escape menu button
  • Every other keyboard key will not work unless the onscreen keyboard is visible on mobile.
  • LastInputType will always be mobile related, never PC related

These changes will allow you to move and click a mobile button at the same time. In the emulator, pressing WASD forces core scripts to believe your on computer, while using the mobile emulator.

5 Likes

Any update on this? There’s still no way to properly emulate mechanics on studio.

1 Like

The lack of a pinching simulation feature is causing immense frustration during mobile testing. It’s absurd that I have to publish the game and get on my phone just to evaluate basic pinching mechanics, and I can’t believe some developers might even need to resort to mobile emulators for this simple functionality.

1 Like

I’d like to also bump that there is still a need for this feature. There’s no way to emulate touch pinch and it bogs down development time having to do workaround tests on a physical phone instead without studio.