I need a program code for retro-reflective sensor that will sense any clear objects. Please help me
Good luck. Clear objects are not easy to sense with any kind of optical sensor. It is almost certainly a HARDWARE problem, not a programming question.
If you want to make it a programming question you need to tell us how the signal from your particular retro-reflective sensor changes when your particular clear objects pass by.