your `$Sprite2D` reference doesn't match the node's actual name. Node names are case-sensitive. "Sprite2D" is not "sprite2D" is not "SPRITE2D." Check the scene tree.