How can I select an object in a world?

color picking is not working, the device sadly come with incorrct datas.

How can I do ray cast to do that?

Thanks