mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix typo in 2D transform tutorial
Change `screenCord` to `screenCoord`
This commit is contained in:
@@ -98,7 +98,7 @@ the following order:
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
var screenCord = GetViewport().GetScreenTransform() * GetGlobalTransformWithCanvas() * localPos;
|
||||
var screenCoord = GetViewport().GetScreenTransform() * GetGlobalTransformWithCanvas() * localPos;
|
||||
|
||||
Keep in mind, however, that it is generally not desired to work with screen coordinates. The
|
||||
recommended approach is to simply work in Canvas coordinates
|
||||
|
||||
Reference in New Issue
Block a user