7 lines
105 B
GDScript
7 lines
105 B
GDScript
extends Area2D
|
|
|
|
|
|
func _on_body_entered(body: Node2D) -> void:
|
|
if body.name == "player":
|
|
print("meow")
|