Examples of the present disclosure relate to an apparatus and method for detecting light reflected from an object. The apparatus includes a light guiding element including a diffracting structure configured to direct incident light to an object; and an optical sensing element configured to detect light reflected from said object.