Download

Detect Touch touchinterface

Hello,
there is a way to intercept the pressure and the release of a stick of virtual joystick ? I would like behavior to the button in a widget . Thanks a lot.

I’ve never tried with a virtual joystick but with physical ones you can detect how far a joystick is moved, but cannot detect how hard it’s pressed down since controllers themselves don’t have this sensor.

Also, most phones have a very restrictive if any pressure sensor for when you press the screen. In reality it’s a waste of money and resources to implement such a thing – that’s just begging to cause damage to the device’s internals.

So can you detect how far the joystick is moving from left to right, or top or bottom, you absolutely can. But I do not think you can detect pressure of it being pressed down since most phones and controllers don’t even support this.