Hi, many thanks for this, it saved me a lot of time!
I just have a quick question. Is there a reason you recommend to set visibility of sprites through code, rather than animation? It seems like no matter how I set them via code, there is a "flicker" on the first frame and other visual bugs. I have animated the visibility in the AnimationPlayer and it seems fine. Am I missing something?