A slight variation of a tutorial by shallwelearn, this simple program shows how to change the background color when a sprite hits the edge. Press the green flag to start.