From 3c4f0257ddb5d29bd2bdcc39c53f8367b1325f64 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 28 Apr 2024 21:13:26 -0400 Subject: [PATCH] Merge pull request #9291 from austin226/patch-1 Fix typo in 2D transform tutorial (cherry picked from commit a80b88d8c7a7b428993b8c6135e8985b9bfff04d) --- 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