瀏覽代碼

Update getting_started/step_by_step/scripting_player_input.rst

Updating phrasing per suggestion

Co-authored-by: Matthew <[email protected]>

Kyle Starr 1 年之前
父節點
當前提交
e4268cf580
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/step_by_step/scripting_player_input.rst

+ 1 - 1
getting_started/step_by_step/scripting_player_input.rst

@@ -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::