How to make a gif in Photoshop
Made with 
Begin with a scene that you want to animate. In this case, we are focusing on the moon
1
Made with 
Make separate layers for the graphic elements that you want to have motion
2
Made with 
Make sure all layers are visible and then open the timeline feature
3
Made with 
You can set the length of the gif and how long each element appears in the timeline
4
Made with 
I chose to set the moons to 3 seconds each. When one disappears, the other shows up
5
Made with 
Once you’re done adjusting the times, hit the space bar to test it!
6
Made with 
Done!
7
Made with