1. A method, comprising: receiving a three-dimensional (3D) map of at least a part of a body of a user of a computerized system; receiving a two dimensional (2D) image of the user, the image including an eye of the user; extracting, from the 3D map and the 2D image, 3D coordinates of a head of the user; identifying, based on the 3D coordinates of the head and the image of the eye, a direction of a gaze performed by the user; and controlling a function of the computerized system responsively to the direction of the gaze by performing an action associated with an interactive item presented in the direction of the gaze on a display coupled to the computerized system upon receiving a first sequence of three-dimensional (3D) maps indicating a motion of a limb toward the display, receiving a second sequence of 3D maps indicating a deceleration of the motion of the limb toward the display, and receiving a third sequence of 3D maps indicating a motion of the limb away from the display.