A computer-implemented method, comprising: detecting a user gaze directed at a virtual UI displayed on a display device of a head mounted display, HMD, device , the virtual UI including a plurality of virtual UI elements, wherein the virtual UI is a dynamic UI including a plurality of dynamic UI elements, each of the plurality of dynamic UI elements having a respective display trajectory defining a pattern of movement of the respective dynamic UI element; determining that the user gaze coincides with one of the dynamic UI elements, and, in response to determining that the user gaze coincides with one of the dynamic UI elements, setting the identified dynamic UI element as a target UI element and selecting the identified dynamic UI element for further action, and, in response to determining that the user gaze does not coincide with one of the dynamic UI elements: detecting a gaze trajectory corresponding to the detected user gaze; matching the detected gaze trajectory to a display trajectory associated with a UI element of the plurality of UI elements; identifying the UI element as the target UI element; determining an offset between the gaze trajectory and the display trajectory associated with the target UI element, the offset including at least one of a translational offset, a scaling offset, or a rotational offset; and recalibrating a user gaze interaction mode based on the determined offset. detecting a user gaze directed at a virtual UI displayed on a display device of a head mounted display, HMD, device , the virtual UI including a plurality of virtual UI elements, wherein the virtual UI is a dynamic UI including a plurality of dynamic UI elements, each of the plurality of dynamic UI elements having a respective display trajectory defining a pattern of movement of the respective dynamic UI element; determining that the user gaze coincides with one of the dynamic UI elements, and, in response to determining that the user gaze coincides with one of the dynamic UI elements, setting the identified dynamic UI element as a target UI element and selecting the identified dynamic UI element for further action, and, in response to determining that the user gaze does not coincide with one of the dynamic UI elements: detecting a gaze trajectory corresponding to the detected user gaze; matching the detected gaze trajectory to a display trajectory associated with a UI element of the plurality of UI elements; identifying the UI element as the target UI element; determining an offset between the gaze trajectory and the display trajectory associated with the target UI element, the offset including at least one of a translational offset, a scaling offset, or a rotational offset; and recalibrating a user gaze interaction mode based on the determined offset. detecting a gaze trajectory corresponding to the detected user gaze; matching the detected gaze trajectory to a display trajectory associated with a UI element of the plurality of UI elements; identifying the UI element as the target UI element; determining an offset between the gaze trajectory and the display trajectory associated with the target UI element, the offset including at least one of a translational offset, a scaling offset, or a rotational offset; and recalibrating a user gaze interaction mode based on the determined offset. <EOS>