Area2D registering Area entered even when it's collision object is disabled?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By hamoom
func _on_Weapon_area_entered(hitbox_area: Area2D) -> void:

I’m printing true here… this code is an area2D with its area_entered signal connected to itself. If it’s collision shape is disabled then why am I even getting into this block?

:bust_in_silhouette: Reply From: hamoom

adding the connection this way seems to solve it

connect('area_entered', self, '_on_Weapon_area_entered', [], CONNECT_DEFERRED)

any idea why CONNECT_DEFERRED fixes it?