A head mounted device, HMD, comprising: a display ; a motion sensor; a communication interface ; and at least one processor , coupled with the display , the motion sensor, and the communication interface , configured to display, on the display , a virtual environment reflecting an actual environment, the virtual environment including an object corresponding to a first external electronic device in the actual environment determine a relative location, in the virtual environment, of the object with respect to the HMD; detect, via the motion sensor, a motion of the HMD when the detected motion of the HMD corresponds to the object displayed in the virtual environment, receive, via the communication interface , from the first external electronic device, first data that corresponds to first information output by the first external electronic device in the actual environment; and output, in the virtual environment, content corresponding to the received first data, the content being output in correspondence with a region in the virtual environment at which the object is displayed, wherein the region is determined based on the relative location in the virtual environment of the object with respect to the HMD. ; a display ; a motion sensor; a communication interface ; and at least one processor , coupled with the display , the motion sensor, and the communication interface , configured to display, on the display , a virtual environment reflecting an actual environment, the virtual environment including an object corresponding to a first external electronic device in the actual environment determine a relative location, in the virtual environment, of the object with respect to the HMD; detect, via the motion sensor, a motion of the HMD when the detected motion of the HMD corresponds to the object displayed in the virtual environment, receive, via the communication interface , from the first external electronic device, first data that corresponds to first information output by the first external electronic device in the actual environment; and output, in the virtual environment, content corresponding to the received first data, the content being output in correspondence with a region in the virtual environment at which the object is displayed, wherein the region is determined based on the relative location in the virtual environment of the object with respect to the HMD. ; determine a relative location, in the virtual environment, of the object with respect to the HMD; detect, via the motion sensor, a motion of the HMD when the detected motion of the HMD corresponds to the object displayed in the virtual environment, receive, via the communication interface , from the first external electronic device, first data that corresponds to first information output by the first external electronic device in the actual environment; and output, in the virtual environment, content corresponding to the received first data, the content being output in correspondence with a region in the virtual environment at which the object is displayed, wherein the region is determined based on the relative location in the virtual environment of the object with respect to the HMD. <EOS>