Click on green flag, and press the left arrow such that x of line is 3,4,5,6, ... 82,83,84,85,86,87. Then do this with the right arrows. After, do this (being at the left side) with the up/down arrows and see what happens at the top/bottom border. Look inside the project for the colors that are sensed.
This shows the weird effect that "touching color" is not the same as "touching sprite", and different colors are touched for "plain" red or blue. The line and squre are simply made (without any effect) with the sprite editor. All colors have been simply collected with the "pick-up" tool inside the sprites and on the border of the sprites in both the main display panel and in the small sprite selection panel (inside project, bottom left panel).