Avoid red and try to get green. You will lose points if you touch red. You gain points when you touch green.
Coding Games in Scratch by Jon Woodcock is the book I used for help.