godotengine / godotengine/godot-docs

ScreenTouchInput.index provides bad or misleading information

Open
#4,431 1 comment 0 reactions 0 assignees View on GitHub
area:class reference bug
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
3.2.1

**Issue description:**
The documentation for ScreenTouchInput.index mentions "One index = one finger", which can be interpreted as index containing the index of the touch, such as 0, 1, etc., which isn't the case. Instead, it seems to be a unique number that increments for each event. The value starts rather high and does not map to touch index.

**URL to the documentation page:**
https://docs.godotengine.org/en/stable/classes/class_inputeventscreentouch.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.