No collision on area2d

Godot Version

4.7

Question

When I move into the area I don’t see a message. My character body is on the same layer and mask as my area.

func _on_area_2d_body_entered() -> void:
	Test.sceneName = target
	Test.warp = true
	print("warp")

Can you show us your scene tree and relevant nodes?

This function doesn’t have the correct signature to handle a body_entered signal. You should get an error for this, (and you should include errors and warnings as part of your post) if you don’t an error the signal may not be connected.