drag the cat behind and in front of trees to test it out I suggest to test full screen because in the full screen is better than just dragging the sprite in the editor
This method does not really work on sprites that move. To find out a method to do this when sprites move, check this video link:https://www.youtube.com/watch?//www.youtube.com/watch?v=bxjbYJLAUYU