| CPC G06F 3/017 (2013.01) [G02B 27/0172 (2013.01); G06F 3/011 (2013.01); G06T 3/40 (2013.01); G02B 2027/0138 (2013.01)] | 16 Claims |

|
1. A wearable electronic device comprising:
a display;
a camera;
at least one sensor;
at least one processor; and
memory storing instructions that, when executed by the at least one processor individually or collectively, cause the wearable electronic device to:
based on receiving, through the camera, a first user input selecting a workspace corresponding to a first space to be executed in a second space different from the first space, obtain spatial information about the second space using the at least one sensor, wherein the workspace is stored in the memory and includes at least one virtual object having a first spatial relationship with a first real object that is included in the first space and is not included in the second space, wherein the at least one virtual object includes an execution screen of a first application,
detect a second real object that is included in the second space and is not included in the first space,
determine a second spatial relationship between the at least one virtual object and the second real object based on the spatial information about the second space and information about the first spatial relationship,
determine whether the at least one virtual object is displayable in the second space, and
when the at least one virtual object is not displayable in the second space, display the at least one virtual object including an execution screen of a second application different from the first application or a widget screen stored in the memory, instead of the execution screen of the first application, on the display, based on the determined second spatial relationship.
|