TOUCH LED functions

Hi everyone, can anybody explain why is this happen on touch LED or do you have sample program using MODKIT?
ROBOTC for VEX Robotics 4.0 - Chameleon Bot - YouTube - this the video … Chameleon Bot Thanks a lot!

If you look closely you will see there is a colour sensor to the right of the location the ball is placed.
In short, the colour sensor reads the colour of the ball and the Touch LED reproduces the colour that was read.

Thanks Jet!