0 votes

I need to distinguish between what type of source made an InputEventScreenTouch. I need know if a finger, an stylus or a whole palm touched the UI. This is for an program running on an Android tablet.

I tested on with InputEvent.get_device(), and there is no distinction (everything returns 1).

On Android apps you can use the radius of contact with the screen to judge if it was a stylus (low radius) or a finger (higher radius). Can you get this information in Godot?

Godot version Godot Engine v3.5.1.stable.official [6fed1ffa3]
in Engine by (18 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.