We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 326abe7 commit 59de155Copy full SHA for 59de155
tutorials/2d/2d_movement.rst
@@ -232,7 +232,7 @@ on the screen will cause the player to move to the target location.
232
233
func _input(event):
234
# Use is_action_pressed to only accept single taps as input instead of mouse drags.
235
- if event.is_action_pressed("click"):
+ if event.is_action_pressed(&"click"):
236
target = get_global_mouse_position()
237
238
func _physics_process(delta):
0 commit comments