Need help making animated sprite invisible

Godot Version

4.2.2

Question

I have an animated sprite 2d and the $AnimatedSprite2D.visible = false is not working.

Every source says it should work.

I think in a animation player or somewhere you have made this sprite visible true, so if possible show more details.