An electronic device (100, 200, 300), comprising: a display device comprising a plurality of light-emitting elements for displaying an optical image on a front side of the display device; a plurality of illumination elements (120-1, 120-2) configured to emit light for illuminating a scene in front of the front side of the display device, wherein the display device is arranged between the plurality of illumination elements (120-1, 120-2) and the scene, wherein the display device comprises a first display region exhibiting a first transmissivity for the light emitted by the plurality of illumination elements (120-1, 120-2) and a second display region exhibiting a second transmissivity for the light emitted by the plurality of illumination elements (120-1, 120-2), the first transmissivity being higher than the second transmissivity; at least one optical element arranged between the plurality of illumination elements (120-1, 120-2) and the display device, wherein the at least one optical element is configured to focus the light emitted by the plurality of illumination elements (120-1, 120-2) through the first display region; an optical sensor configured to measure a fraction of the light emitted by the plurality of illumination elements (120-1, 120-2) that is reflected back from the scene, wherein the display device is arranged between the optical sensor and the scene; and control circuitry configured to: receive object information indicating a position or a movement of an object in the scene; determine a part of the scene that likely contains the object based on the object information; and selectively control light emission by individual illumination elements of the plurality of illumination elements (120-1, 120-2) in order to selectively illuminate the part of the scene that likely contains the object. a display device comprising a plurality of light-emitting elements for displaying an optical image on a front side of the display device; a plurality of illumination elements (120-1, 120-2) configured to emit light for illuminating a scene in front of the front side of the display device, wherein the display device is arranged between the plurality of illumination elements (120-1, 120-2) and the scene, wherein the display device comprises a first display region exhibiting a first transmissivity for the light emitted by the plurality of illumination elements (120-1, 120-2) and a second display region exhibiting a second transmissivity for the light emitted by the plurality of illumination elements (120-1, 120-2), the first transmissivity being higher than the second transmissivity; at least one optical element arranged between the plurality of illumination elements (120-1, 120-2) and the display device, wherein the at least one optical element is configured to focus the light emitted by the plurality of illumination elements (120-1, 120-2) through the first display region; an optical sensor configured to measure a fraction of the light emitted by the plurality of illumination elements (120-1, 120-2) that is reflected back from the scene, wherein the display device is arranged between the optical sensor and the scene; and control circuitry configured to: receive object information indicating a position or a movement of an object in the scene; determine a part of the scene that likely contains the object based on the object information; and selectively control light emission by individual illumination elements of the plurality of illumination elements (120-1, 120-2) in order to selectively illuminate the part of the scene that likely contains the object. receive object information indicating a position or a movement of an object in the scene; determine a part of the scene that likely contains the object based on the object information; and selectively control light emission by individual illumination elements of the plurality of illumination elements (120-1, 120-2) in order to selectively illuminate the part of the scene that likely contains the object.