From 10ccdbeabcc13f88b01c807491c86d5697b4678e Mon Sep 17 00:00:00 2001 From: Austin Almond Date: Sat, 27 Apr 2024 23:28:04 -0400 Subject: [PATCH] Fix typo in 2D transform tutorial Change `screenCord` to `screenCoord` --- tutorials/2d/2d_transforms.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/2d/2d_transforms.rst b/tutorials/2d/2d_transforms.rst index be67b618b..8403913f1 100644 --- a/tutorials/2d/2d_transforms.rst +++ b/tutorials/2d/2d_transforms.rst @@ -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