Update getting_started/step_by_step/scripting_player_input.rst

Updating phrasing per suggestion

Co-authored-by: Matthew <matthewehr@hotmail.com>
This commit is contained in:
Kyle Starr
2024-01-25 20:21:45 -08:00
committed by GitHub
parent ded85ebb94
commit e4268cf580

View File

@@ -79,7 +79,7 @@ right arrows on the keyboard or left and right on a gamepad's D-pad.
Finally, we use the ``direction`` as a multiplier when we update the node's
``rotation``: ``rotation += angular_speed * direction * delta``.
Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` and ``position += velocity * delta`` with the code below:
Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` and ``position += velocity * delta`` like this:
.. tabs::