HELP ON Autonomous !!!!

I need Help on Autonomous mode how can i make the Camera Search for the green light instead of just locking it and following it

Thanks In Advance:]

What exactly do you mean? Do you want it to ignore the light even if it finds it? And find all the lights?