From bd0c13df5de4d257231d8c93b61ec4132fa83a0a Mon Sep 17 00:00:00 2001 From: Rooni Date: Tue, 1 Oct 2024 21:38:43 +0200 Subject: [PATCH] Fix indentation on mouse_and_input_coordinates.rst There was a space missing, causing inconsistent indentation and making the code not copy pastable. --- tutorials/inputs/mouse_and_input_coordinates.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tutorials/inputs/mouse_and_input_coordinates.rst b/tutorials/inputs/mouse_and_input_coordinates.rst index ac0dadce7..fd3be77ca 100644 --- a/tutorials/inputs/mouse_and_input_coordinates.rst +++ b/tutorials/inputs/mouse_and_input_coordinates.rst @@ -29,14 +29,14 @@ for example: .. code-tab:: gdscript GDScript func _input(event): - # Mouse in viewport coordinates. - if event is InputEventMouseButton: - print("Mouse Click/Unclick at: ", event.position) - elif event is InputEventMouseMotion: - print("Mouse Motion at: ", event.position) + # Mouse in viewport coordinates. + if event is InputEventMouseButton: + print("Mouse Click/Unclick at: ", event.position) + elif event is InputEventMouseMotion: + print("Mouse Motion at: ", event.position) - # Print the size of the viewport. - print("Viewport Resolution is: ", get_viewport().get_visible_rect().size) + # Print the size of the viewport. + print("Viewport Resolution is: ", get_viewport().get_visible_rect().size) .. code-tab:: csharp