Skip to content

Commit 0bbe937

Browse files
authored
Update getting_started/first_2d_game/04.creating_the_enemy.rst
1 parent 51f6a1b commit 0bbe937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting_started/first_2d_game/04.creating_the_enemy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ to the ``Mob`` and add this code:
113113
.. tabs::
114114
.. code-tab:: gdscript GDScript
115115

116-
func _on_VisibilityNotifier2D_screen_exited():
116+
func _on_visible_on_screen_notifier_2d_screen_exited():
117117
queue_free()
118118

119119
.. code-tab:: csharp

0 commit comments

Comments
 (0)