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