Go to see inside and this is a great example of how to use my blocks when you want the basketball court to fade in you go to the code and press fade in. When you want it to fade out you press the fade-out code.
https://scratch.mit.edu/projects/419433894