Godot Version
4.6
Question
Why dos this not work.
The signal comes from the same area it is conectet to.
i get 0 print massages in my cosol.
i want to print out “winn” when my ball (a riged body with sprite 2D and collider)
enters this area i have no idea why this is not working i got the script from a youtube video.
extends Area2D
func _on_body_entered(body: Node2D) -> void:
print("LOL")
if (body.name == "ball"):
print ("winn")

