What sensor for 30cm reflective scan

I am looking for a sensor which can test for a reflective surface up to 50cm ahead what kind of sensor would be best for this?

Thanks

Reflective of what?

button + 50cm steel rod to trigger it would cetainly work.

zwieblum:
button + 50cm steel rod to trigger it would cetainly work.

Water can be reflective.

You can add a dryice ejector to the end of the rod - that takes care of the "reflective" part. If it's not refective any more, it's not in the specs.

It's some foil on a can I need to detect but not pick up a black plain can

"surface up to 50cm ahead" =!= "pick up a black plain can"

Could you describe what you really want to do? And add some pictures of it?