godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

InputEventScreenTouch has unhelpful descriptions

Open Tameno-01 opened this issue 4 months ago • 1 comments

Your Godot version: 4.1.1

Issue description: The descriptions of some properties provide no additional information than the properties names themselves, this is especially true for the cancelled property. I don't understand when cancelling a touch input means, what action do i need to do with my finger/pen to "cancel" it? It would also be nice to know how indexes are assigned for the index property. (I need to know this because i'm using the value -1 in my code to represent no active touch input, and i would like to be sure that indexes can never be negative)

URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/classes/class_inputeventscreentouch.html

Tameno-01 avatar Aug 24 '25 20:08 Tameno-01

I've searched the codebase for canceled = and p_canceled and can't find anything that would actually set it within platform code. There are a few references to it in Android code, but none in the Java/Kotlin side, only C++ on the engine side.

cc @m4gr3d

Calinou avatar Aug 26 '25 17:08 Calinou