Get the star without touching the dog. Use your mouse pointer (or finger if you are on mobile)
I got the Idea from a thing I coded in scratch in 2nd grade in Focus.