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 82dde48 commit edd946fCopy full SHA for edd946f
getting_started/first_2d_game/03.coding_the_player.rst
@@ -489,7 +489,7 @@ this code to the function:
489
.. tabs::
490
.. code-tab:: gdscript GDScript
491
492
- func _on_body_entered(body):
+ func _on_body_entered(_body):
493
hide() # Player disappears after being hit.
494
hit.emit()
495
# Must be deferred as we can't change physics properties on a physics callback.
0 commit comments