Ah, I see the problem. You can delete this function in the Player script:
func _on_Area2D2_body_entered(body: KinematicBody2D):
pass
And repeat the steps for connecting the Area2D
. Except, this time, double click the Area2D
when it brings up the current tree, so that the signal connects to the Area2D
's script.