Godot Version
4.7.stable
Question
hello, I wanted to use the _on_Area2D_area_exited but even though the area entered version of this worked, the exited one didn’t.
here’s the code
func _on_interact_area_entered(area: Area2D) -> void:
print("entered")
current_interactions.push_back(area)
func _on_interact_area_exited(area: Area2D) -> void:
print("exited")
current_interactions.erase(area)
whenever the two areas collided, I would get the entered output, but when they moved apart, i wouldn’t get the exited output
Thank you for reading