Use left and right to move. Stop when the light is red. Move when the light is green.
Credits to Pokefan_Super: (https://scratch.mit.edu/users/Pokefan_Super/) for the inspiration