11 lines
206 B
GDScript
11 lines
206 B
GDScript
extends Area2D
|
|
|
|
func _ready() -> void:
|
|
pass # Replace with function body.
|
|
|
|
|
|
|
|
func _on_Node2D_body_entered(body: Node) -> void:
|
|
if body.get_name() == "Player":
|
|
queue_free() # Replace with function body.
|