If a plane touches the red, it bounces off the red. If a plane touches the green, a new plane appears and the existing plane teleports somewhere else.