How to check if a node is in a area_3d every frame and not the first frame it hits the area

Godot Version

4.2

Question

How do i check if a area enters another area every frame, the signal on the normal area3d only checks if it just enters, but i need it to check every frame

I may use overlapping bodies but i dont know how to use them and idk how to make them check for groups

(Also sorry if theres no code bcs the whole thing is just 1 statement mechanically,all the other stuff is visual flare)

I think so, you should use “get_overlapping_areas” (there’s also “get_overlapping_bodies”), iterate through that array, and for each area, check if that area is in that group (area.is_in_group()). It’s possible the area isn’t the root of your scene and isn’t what added it to the group, so the area might need a reference to its parent, or you could use area.owner.is_in_group(“group”).

Set some bool like var entered = false to true on enter signal and false on exit signal. Then it will remain true while you are within the area.