How do I keep Area2D collision to stay with the Characterbody2D its parented too? idk how to add pics

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Dixonmatt

I have an Enemy ( Node 2D ) and a sprite containing my art child to that. I have a collision box that stays with that art and then I have an Alert2D with a collision box as well. When I import the enemy scene into my world scene, the Enemy is at the world origin. I move the Enemy to the center of the screen away from the origin but the area2D collision stays at origin and doesn’t move with the character. I don’t know what I’m doing wrong or what this is but its frustrating, any help?

:bust_in_silhouette: Reply From: Dixonmatt

I figured this one out, i had my collision for the Area2D checked as “top level” under the transform tab, fixed the issues. I think because everything is now on the same layer for my character scene and now move together…make sense lol