godotengine / godotengine/godot-docs

Mislabeled MouseMode Enumeration Values

Open
#7,947 1 comment 0 reactions 0 assignees View on GitHub
bug topic:dotnet
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:** 4.1.1.stable.mono.official

**Issue description:**
MouseMode enumerator values given are mislabeled, such as `MOUSE_MODE_VISIBLE` compared to the correct value, `Visible`

The page makes it appear the values are under `Input.MouseMode`, but it's actually `Input.MouseModeEnum` which is not mentioned on the page

Unless you are truly meant to reference `Input.MouseMode.MOUSE_MODE_VISIBLE`, in which case you encounter the following errors:
`Member 'Input.MouseModeEnum.Visible' cannot be accessed with an instance reference; qualify it with a type name instead`

`'Input.MouseModeEnum' does not contain a definition for 'MOUSE_MODE_VISIBLE' and no accessible extension method 'MOUSE_MODE_VISIBLE' accepting a first argument of type 'Input.MouseModeEnum' could be found`

**URL to the documentation page:**https://docs.godotengine.org/en/stable/classes/class_input.html#enum-input-mousemode

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.