godot if colliding code example
Example: how to find if something is colliding in godot
func _on_Flowers_body_entered(body):
if body.name == "Player":
get_tree().queue_delete(self)
func _on_Flowers_body_entered(body):
if body.name == "Player":
get_tree().queue_delete(self)