godotengine / godotengine/godot-docs

Input map actions used in documentation do not exist

Open
#8,539 5 comments 1 reaction 0 assignees View on GitHub
area:manual discussion enhancement
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
4.1

**Issue description:**
The documentation tells me to use this line: `var velocity = Input.get_vector("move_left", "move_right", "move_forward", "move_back")`.
However, when I use that line I get the error message: `E 0:00:01:0104 Hero.gd:9 @ _process(): The InputMap action "move_back" doesn't exist. Did you mean "ui_text_backspace"?
Condition "!InputMap::get_singleton()->has_action(p_action)" is true. Returning: 0.0
core/input/input.cpp:347 @ get_action_raw_strength()
Hero.gd:9 @ _process()
`

**URL to the documentation page:**
https://docs.godotengine.org/en/stable/tutorials/inputs/controllers_gamepads_joysticks.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.