File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
getting_started/step_by_step Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,10 @@ which the player wants to turn. A value of ``0`` means the player isn't pressing
6161the left or the right arrow key. A value of ``1 `` means the player wants to turn
6262right, and ``-1 `` means they want to turn left.
6363
64- To produce these values, we introduce conditions and the use of ``Input ``. A
65- condition starts with the ``if `` keyword in GDScript and ends with a colon. The
66- condition is the expression between the keyword and the end of the line.
64+ To produce these values, we introduce conditional statements and the use of ``Input ``.
65+ A conditional statement starts with the ``if `` keyword in GDScript and ends with a colon. The
66+ condition is specifically the expression between the keyword and the colon at
67+ the end of the line.
6768
6869To check if a key was pressed this frame, we call ``Input.is_action_pressed() ``.
6970The method takes a text string representing an input action and returns ``true ``
You can’t perform that action at this time.
0 commit comments