8 lines
133 B
GDScript
8 lines
133 B
GDScript
extends Area2D
|
|
|
|
|
|
func _on_Cup_body_entered(body: Node) -> void:
|
|
if body.is_in_group("Balls"):
|
|
print("Yatta!")
|
|
body.queue_free()
|