A computer-implemented method , comprising: displaying a virtual environment on a display of a head mounted electronic device (100; 300), the head mounted electronic device (100; 300) operating in an ambient environment ; detecting an ambient object held by a user wearing the head mounted electronic device (100; 300) in the ambient environment ; characterized by detecting a first ambient position of the ambient object in the ambient environment ; displaying a virtual rendering of the ambient object at a first virtual position in the display of the virtual environment, the first virtual position corresponding to the detected first ambient position of the ambient object in the ambient environment ; detecting a movement of the head mounted electronic device (100; 300), from a first position of the head mounted electronic device (100; 300) to a second position of the head mounted electronic device (100; 300); updating a position of the ambient object in the ambient environment based on the detected movement of the head mounted electronic device (100; 300), including receiving from the ambient object sensor data obtained at the ambient object; detecting a movement of the ambient object in the ambient environment based on the received sensor data; and determining a second ambient position of the ambient object in the ambient environment based on the detected movement of the ambient object; and displaying the virtual rendering of the ambient object at a second virtual position in the display of the virtual environment based on the determined second ambient position of the ambient object in the ambient environment . displaying a virtual environment on a display of a head mounted electronic device (100; 300), the head mounted electronic device (100; 300) operating in an ambient environment ; detecting an ambient object held by a user wearing the head mounted electronic device (100; 300) in the ambient environment ; characterized by detecting a first ambient position of the ambient object in the ambient environment ; displaying a virtual rendering of the ambient object at a first virtual position in the display of the virtual environment, the first virtual position corresponding to the detected first ambient position of the ambient object in the ambient environment ; detecting a movement of the head mounted electronic device (100; 300), from a first position of the head mounted electronic device (100; 300) to a second position of the head mounted electronic device (100; 300); updating a position of the ambient object in the ambient environment based on the detected movement of the head mounted electronic device (100; 300), including receiving from the ambient object sensor data obtained at the ambient object; detecting a movement of the ambient object in the ambient environment based on the received sensor data; and determining a second ambient position of the ambient object in the ambient environment based on the detected movement of the ambient object; and displaying the virtual rendering of the ambient object at a second virtual position in the display of the virtual environment based on the determined second ambient position of the ambient object in the ambient environment . <EOS>