extends Area2D






func _on_coin_body_entered(body):

print("enter")

self.queue_free()

ええ、もちろん動きます
コインの1つ1つにこういうスクリプトがあるのは無駄ですか?
うまい方法があれば教えて下さい