godotengine / godotengine/godot-docs
Documentation issue: Mouse motion example problem
- Dominant language
- reStructuredText
- Stars
- 5.7k
- Forks
- 3.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 25
Description
**Your Godot version:**v4.0.3.stable.official [5222a99f5]
**Issue description:**The example GDScript code of Mouse motin doesn't work well if position of node is not equal to global_position at the begining.Is there any other considers ?Or replace "$Sprite2D.position" with "$Sprite2D.global_position" is a better idea
**URL to the documentation page:**https://docs.godotengine.org/en/4.0/tutorials/inputs/input_examples.html#mouse-events
If you know how to fix the issue you are reporting please
consider opening a pull request. We provide a tutorial on
using git here: https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html,
writing documentation at https://docs.godotengine.org/en/stable/community/contributing/docs_writing_guidelines.html
and contributing to the class reference here: https://docs.godotengine.org/en/stable/community/contributing/updating_the_class_reference.html
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.