Skip to content

Commit 7154161

Browse files
2d movement click movement drag corrections
Co-authored-by: A Thousand Ships <[email protected]>
1 parent 5425bf6 commit 7154161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/2d/2d_movement.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ on the screen will cause the player to move to the target location.
231231
var target = position
232232

233233
func _input(event):
234-
#use is_action_just_pressed to only accept single taps as input instead of mouse drags
234+
# Use is_action_pressed to only accept single taps as input instead of mouse drags.
235235
if event.is_action_pressed("click"):
236236
target = get_global_mouse_position()
237237

0 commit comments

Comments
 (0)