Devices, methods, and graphical user interfaces for displaying and manipulation of pinned objects

The improved computer systems with enhanced user interfaces address inefficiencies in virtual and augmented reality interactions by allowing virtual object pinning and adaptive feedback, enhancing user efficiency and conserving battery life.

WO2026246268A1PCT designated stage Publication Date: 2026-11-26APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2026/028517
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-06-08
Filing Date
2026-05-15
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing methods for interacting with virtual and augmented reality environments are cumbersome, inefficient, and create a significant cognitive burden on users, requiring multiple inputs and leading to errors and energy wastage, particularly in battery-operated devices.

Method used

Improved computer systems with enhanced user interfaces that reduce the number and complexity of user inputs by allowing virtual objects to be pinned to virtual surfaces, providing visual feedback, and adjusting interactions based on surface type and user viewpoint, while conserving power.

Benefits of technology

The enhanced interfaces improve interaction efficiency, reduce errors, and conserve battery life by minimizing inputs and providing intuitive feedback, resulting in a more efficient and ergonomic user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2026028517_26112026_PF_FP_ABST
    Figure US2026028517_26112026_PF_FP_ABST
Patent Text Reader

Abstract

Some examples are directed to a computer system for displaying virtual objects in a three-dimensional environment. The computer system optionally pins virtual objects to virtual surfaces; displays visual indications corresponding to a pinning status of a virtual object; displays occluded pinned virtual objects with a visual effect; unpins a pinned virtual object when one or more criteria are satisfied; applies different positioning behavior based on a type of surface that a virtual object is snapped to; displays a virtual object in a detached state; displays an attached virtual object based on an attachment style of the virtual object; performs operations associated with a virtual object in response to a change in viewpoint; changes content represented by a virtual widget while maintaining the widget at a fixed location; outputs sound associated with a time-keeping virtual object; and / or displays emissive and non-emissive virtual objects.
Need to check novelty before this filing date? Find Prior Art

Description

Attorney Docket No. 106842243540 (P70352WO1)DEVICES, METHODS, AND GRAPHICAL USER INTERFACES FOR DISPLAYING AND MANIPULATION OF PINNED OBJECTS CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. Provisional Application No.63 / 819,932, filed June 8, 2025, and U.S. Provisional Application No. 63 / 808,606, filed May 19, 2025, the contents of which are herein incorporated by reference in their entireties for all purposes.TECHNICAL FIELD

[0002] The present disclosure relates generally to computer systems that provide computer-generated experiences, including, but not limited to, electronic devices that provide virtual reality and mixed reality experiences via a display.BACKGROUND

[0003] The development of computer systems for augmented reality has increased significantly in recent years. Example augmented reality environments include at least some virtual elements that replace or augment the physical world. Input devices, such as cameras, controllers, joysticks, touch-sensitive surfaces, and touch-screen displays for computer systems and other electronic computing devices are used to interact with virtual / augmented reality environments. Example virtual elements include virtual objects, such as digital images, video, text, icons, and control elements such as buttons and other graphics.SUMMARY

[0004] Some methods and interfaces for interacting with environments that include at least some virtual elements (e.g., applications, augmented reality environments, mixed reality environments, and virtual reality environments) are cumbersome, inefficient, and limited. For example, systems that provide insufficient feedback for performing actions associated with virtual objects, systems that require a series of inputs to achieve a desired outcome in an augmented reality environment, and systems in which manipulation of virtual objects are complex, tedious, and error-prone, create a significant cognitive burden on a user, and detract from the experience with the virtual / augmented reality environment. In addition, these methods take longer than necessary, thereby wasting energy of the computer system. This latter consideration is particularly important in battery-operated devices.14927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0005] Accordingly, there is a need for computer systems with improved methods and interfaces for providing computer-generated experiences to users that make interaction with the computer systems more efficient and intuitive for a user. Such methods and interfaces optionally complement or replace conventional methods for providing extended reality experiences to users. Such methods and interfaces reduce the number, extent, and / or nature of the inputs from a user by helping the user to understand the connection between provided inputs and device responses to the inputs, thereby creating a more efficient human-machine interface.

[0006] The above deficiencies and other problems associated with user interfaces for computer systems are reduced or eliminated by the disclosed systems. In some embodiments, the computer system is a desktop computer with an associated display. In some embodiments, the computer system is portable device (e.g., a notebook computer, tablet computer, or handheld device). In some embodiments, the computer system is a personal electronic device (e.g., a wearable electronic device, such as a watch, or a head-mounted device). In some embodiments, the computer system has a touchpad. In some embodiments, the computer system has one or more cameras. In some embodiments, the computer system has (e.g., includes or is in communication with) a display generation component (e.g., a display device such as a head-mounted device (HMD), a display, a projector, a touch-sensitive display (also known as a “touch screen” or “touch-screen display”), or other device or component that presents visual content to a user, for example on or in the display generation component itself or produced from the display generation component and visible elsewhere). In some embodiments, the computer system has one or more eye-tracking components. In some embodiments, the computer system has one or more hand-tracking components. In some embodiments, the computer system has one or more output devices in addition to the display generation component, the output devices including one or more tactile output generators and / or one or more audio output devices. In some embodiments, the computer system has a graphical user interface (GUI), one or more processors, memory and one or more modules, programs or sets of instructions stored in the memory for performing multiple functions. In some embodiments, the user interacts with the GUI through a stylus and / or finger contacts and gestures on the touch-sensitive surface, movement of the user’s eyes and hand in space relative to the GUI (and / or computer system) or the user’s body as captured by cameras and other movement sensors, and / or voice inputs as captured by one or more audio input devices. In some embodiments, the functions performed through the interactions optionally include24927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)image editing, drawing, presenting, word processing, spreadsheet making, game playing, telephoning, video conferencing, e-mailing, instant messaging, workout support, digital photographing, digital videoing, web browsing, digital music playing, note taking, and / or digital video playing. Executable instructions for performing these functions are, optionally, included in a transitory and / or non-transitory computer readable storage medium or other computer program product configured for execution by one or more processors.

[0007] There is a need for electronic devices with improved methods and interfaces for interacting with a three-dimensional environment. Such methods and interfaces may complement or replace conventional methods for interacting with a three-dimensional environment. Such methods and interfaces reduce the number, extent, and / or the nature of the inputs from a user and produce a more efficient human-machine interface. For battery-operated computing devices, such methods and interfaces conserve power and increase the time between battery charges.

[0008] In some embodiments, a computer system pins a virtual object to a virtual surface in response to determining that the object is able to be pinned and meets snapping criteria for pinning an object to a surface. In some embodiments, a computer system displays one or more visual indications corresponding to a pinning status of a virtual object in a three-dimensional environment. In some embodiments, a computer system displays occluded virtual objects that are pinned to a virtual surface with a visual effect. In some embodiments, in response to detecting a request to launch an application, a computer system unpins a pinned virtual object in accordance with a determination that one or more criteria are satisfied. In some embodiments, a computer system applies different positioning behavior based on a different type of surface that a virtual object is snapped to (e.g., different positioning behavior applied to vertical and horizontal surfaces). In some embodiments, a computer system displays a virtual object with a first visual appearance if the widget is not attached to a virtual surface. In some embodiments, a computer system displays a virtual object as a recessed virtual object. In some embodiments, a computer system detects a change in a viewpoint of a user relative to a virtual object and, in response, performs one or more operations associated with the virtual object. In some embodiments, a computer system displays a virtual widget attached to a surface and that corresponds to content. In some embodiments, a computer system outputs a sound associated with a time-keeping virtual object that corresponds to a passage of time satisfying one or more criteria. In response to detecting the occurrence of an event, the computer system changes which content is34927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)represented by the widget while maintaining the widget at the same fixed location. In some embodiments, a computer system displays emissive virtual objects and non-emissive virtual objects in a three-dimensional environment.

[0009] Note that the various embodiments described above can be combined with any other embodiments described herein. The features and advantages described in the specification are not all inclusive and, in particular, many additional features and advantages will be apparent to one of ordinary skill in the art in view of the drawings, specification, and claims. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter.BRIEF DESCRIPTION OF THE DRAWINGS

[0010] For a better understanding of the various described embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

[0011] Figure 1 A is a block diagram illustrating an operating environment of a computer system for providing XR experiences in accordance with some embodiments.

[0012] Figures IB- IP are examples of a computer system for providing XR experiences in the operating environment of Figure 1A.

[0013] Figure 2 is a block diagram illustrating a controller of a computer system that is configured to manage and coordinate a XR experience for the user in accordance with some embodiments.

[0014] Figure 3 A is a block diagram illustrating a display generation component of a computer system that is configured to provide a visual component of the XR experience to the user in accordance with some embodiments.

[0015] Figures 3B-3G illustrate the use of Application Programming Interfaces (APIs) to perform operations.

[0016] Figure 4 is a block diagram illustrating a hand tracking unit of a computer system that is configured to capture gesture inputs of the user in accordance with some embodiments.44927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0017] Figure 5 is a block diagram illustrating an eye tracking unit of a computer system that is configured to capture gaze inputs of the user in accordance with some embodiments.

[0018] Figure 6 is a flow diagram illustrating a glint-assisted gaze tracking pipeline in accordance with some embodiments.

[0019] Figures 7A-7AA illustrate exemplary ways in which a computer system pins virtual objects to surfaces in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0020] Figure 8 illustrates a flow diagram for a method in which a computer system pins virtual objects to surfaces in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0021] Figures 9A-9O illustrate exemplary ways in which a computer system displays one or more visual indications corresponding to a pinning status of a virtual object in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0022] Figure 10 illustrates a flow diagram illustrating a method in which a computer system displays one or more visual indications corresponding to a pinning status of a virtual object in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0023] Figures 11 A-l 1W illustrate exemplary ways in which a computer system handles spatial conflicts involving virtual objects in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0024] Figure 12 illustrates a flow diagram for a method in which a computer handles spatial conflicts involving virtual objects in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0025] Figures 13A-13HH illustrate exemplary ways in which a computer system unpins a pinned virtual object in accordance with a determination that one or more criteria are satisfied, in accordance with some embodiments of the disclosure.

[0026] Figure 14 illustrates a flow diagram illustrating a method in which a computer system unpins a pinned virtual object in accordance with a determination that one or more criteria are satisfied, in response to detecting a request to launch an application, in accordance with some embodiments of the disclosure.54927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0027] Figures 15A-15Y illustrate exemplary ways for applying different positioning behavior based on a different type of surface that a virtual object is snapped to (e.g., different positioning behavior applied to vertical and horizontal surfaces), in accordance with some embodiments of the disclosure.

[0028] Figure 16 illustrates a flow diagram illustrating a method for a computer system applying different positioning behavior based on a different type of surface that a virtual object is snapped to, in accordance with some embodiments of the disclosure.

[0029] Figures 17A-17U illustrate exemplary ways in which a computer system displays a virtual object differently based on whether the virtual widget is attached to a surface or not attached to a surface in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0030] Figure 18 illustrates a flow diagram illustrating a method in which a computer system displays a virtual object differently based on whether the virtual widget is attached to a surface or not attached to a surface in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0031] Figures 19A-19HH illustrate exemplary ways in which a computer system displays an attached virtual object differently based on an attachment style of the virtual object in the three-dimensional environment, in accordance with some embodiments of the disclosure.

[0032] Figure 20 illustrates a flow diagram illustrating a method in which a computer system displays an attached virtual object differently based on an attachment style of the virtual object in the three-dimensional environment, in accordance with some embodiments of the disclosure.

[0033] Figures 21A-21T illustrate exemplary ways for detecting a change in a viewpoint of a user relative to a virtual object and, in response, performing one or more operations associated with the virtual object, in accordance with some embodiments of the disclosure.

[0034] Figure 22 illustrates a flow diagram illustrating a method in which a computer system detects a change in a viewpoint of a user relative to a virtual object and, in response, performs one or more operations associated with the virtual object, in accordance with some embodiments of the disclosure.64927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0035] Figures 23 A-23L illustrate exemplary ways for displaying a virtual widget attached to a surface that corresponds to content, and in response to detecting the occurrence of an event, changing which content is represented by the widget while maintaining the widget at the same fixed location, in accordance with some embodiments of the disclosure.

[0036] Figure 24 illustrates a flow diagram illustrating a method in which a computer system displays a virtual widget attached to a surface that corresponds to content, and in response to detecting the occurrence of an event, changes which content is represented by the widget while maintaining the widget at the same fixed location, in accordance with some embodiments of the disclosure.

[0037] Figures 25A-25O illustrate examples of a computer system outputting a sound associated with a time-keeping virtual object that corresponds to a passage of time satisfying one or more criteria, in accordance with some embodiments.

[0038] Figure 26 illustrates a flow diagram of an example method for outputting a sound associated with a time-keeping virtual object that corresponds to a passage of time satisfying one or more criteria, in accordance with some embodiments.

[0039] Figures 27A-27U illustrate exemplary ways in which a computer system displays emissive virtual objects and non-emissive virtual objects in a three-dimensional environment, in accordance with some embodiments of the disclosure.

[0040] Figure 28 illustrates a flow diagram illustrating a method in which a computer system displays emissive virtual objects and non-emissive virtual objects in a three-dimensional environment, in accordance with some embodiments of the disclosure.DESCRIPTION OF EMBODIMENTS

[0041] The present disclosure relates to user interfaces for providing an extended reality (XR) experience to a user, in accordance with some embodiments.

[0042] The systems, methods, and GUIs described herein improve user interface interactions with virtual / augmented reality environments in multiple ways.

[0043] In some embodiments, a computer system pins a virtual object to a virtual surface in response to determining that the object is able to be pinned and meets snapping criteria for pinning an object to a surface. In some embodiments, a computer system displays74927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more visual indications corresponding to a pinning status of a virtual object in a three-dimensional environment. In some embodiments, a computer system displays occluded virtual objects that are pinned to a virtual surface with a visual effect. In some embodiments, in response to detecting a request to launch an application, a computer system unpins a pinned virtual object in accordance with a determination that one or more criteria are satisfied. In some embodiments, a computer system applies different positioning behavior based on a different type of surface that a virtual object is snapped to (e.g., different positioning behavior applied to vertical and horizontal surfaces). In some embodiments, a computer system displays a virtual object with a first visual appearance if the widget is not attached to a virtual surface. In some embodiments, a computer system displays a virtual object as a recessed virtual object. In some embodiments, a computer system detects a change in a viewpoint of a user relative to a virtual object and, in response, performs one or more operations associated with the virtual object. In some embodiments, a computer system displays a virtual widget attached to a surface and that corresponds to content. In response to detecting the occurrence of an event, the computer system changes which content is represented by the widget while maintaining the widget at the same fixed location. In some embodiments, a computer system outputs a sound associated with a time-keeping virtual object that corresponds to a passage of time satisfying one or more criteria. In some embodiments, a computer system displays emissive virtual objects and non-emissive virtual objects in a three-dimensional environment.

[0044] Figures 1 A-6 provide a description of example computer systems for providing XR experiences to users (such as described below with respect to methods 800, 1000, 1200, 1400, 1600, 1800, 2000, 2200, 2400, 2600 and / or 2800). Figures 7A-7AA illustrate exemplary ways in which a computer system pins virtual objects to surfaces in a three-dimensional environment. Figure 8 illustrates a flow diagram for a method in which a computer system pins virtual objects to surfaces in a three-dimensional environment. Figures 9A-9O illustrate exemplary ways in which a computer system displays one or more visual indications corresponding to a pinning status of a virtual object in a three-dimensional environment. Figure 10 illustrates a flow diagram illustrating a method in which a computer system displays one or more visual indications corresponding to a pinning status of a virtual object in a three-dimensional environment. Figures 11 A-l 1W illustrate exemplary ways in which a computer system handles spatial conflicts involving virtual objects in a three-dimensional environment. Figure 12 illustrates a flow diagram for a method in which a84927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)computer handles spatial conflicts involving virtual objects in a three-dimensional environment. Figures 13A-13HH illustrate exemplary ways in which a computer system unpins a pinned virtual object in accordance with a determination that one or more criteria are satisfied. Figure 14 illustrates a flow diagram illustrating a method in which a computer system unpins a pinned virtual object in accordance with a determination that one or more criteria are satisfied. Figures 15A-15Y illustrate exemplary ways for applying different positioning behavior based on a different type of surface that a virtual object is snapped to (e.g., different positioning behavior applied to vertical and horizontal surfaces). Figure 16 illustrates a flow diagram illustrating a method in which a computer system applies different positioning behavior based on a different type of surface that a virtual object is snapped to. Figures 17A-17U illustrate exemplary ways in which a computer system displays a virtual object differently based on whether the virtual widget is attached to a surface or not attached to a surface in a three-dimensional environment. Figure 18 illustrates a flow diagram illustrating a method in which a computer system displays a virtual object differently based on whether the virtual widget is attached to a surface or not attached to a surface in a three-dimensional environment. Figures 19A-19HH illustrate exemplary ways in which a computer system displays an attached virtual object differently based on an attachment style of the virtual object in the three-dimensional environment. Figure 20 illustrates a flow diagram illustrating a method in which a computer system displays an attached virtual object differently based on an attachment style of the virtual object in the three-dimensional environment. Figures 21A-21T illustrate exemplary ways for detecting a change in a viewpoint of a user relative to a virtual object and, in response, performing one or more operations associated with the virtual object. Figure 22 illustrates a flow diagram illustrating a method in which a computer system detects a change in a viewpoint of a user relative to a virtual object and, in response, performs one or more operations associated with the virtual object. Figures 23A-23L illustrate exemplary ways for displaying a virtual widget attached to a surface that corresponds to content, and in response to detecting the occurrence of an event, changing which content is represented by the widget while maintaining the widget at the same fixed location. Figure 24 illustrates a flow diagram illustrating a method in which a computer system displays a virtual widget attached to a surface that corresponds to content, and in response to detecting the occurrence of an event, changes which content is represented by the widget while maintaining the widget at the same fixed location. Figures 25A-25O illustrate an example of a computer system outputting a sound associated with a time-keeping virtual object that corresponds to a passage of time satisfying one or more criteria, in94927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)accordance with some embodiments. Figure 26 illustrates a flow diagram of an example method for outputting a sound associated with a time-keeping virtual object that corresponds to a passage of time satisfying one or more criteria, in accordance with some embodiments. Figures 27A-27U illustrate exemplary ways in which a computer system displays emissive virtual objects and non-emissive virtual objects in a three-dimensional environment. Figure 28 illustrates a flow diagram illustrating a method in which a computer system displays emissive virtual objects and non-emissive virtual objects in a three-dimensional environment.

[0045] The processes described below enhance the operability of the devices and make the user-device interfaces more efficient (e.g., by helping the user to provide proper inputs and reducing user mistakes when operating / interacting with the device) through various techniques, including by providing improved visual feedback to the user, reducing the number of inputs needed to perform an operation, providing additionalcontrol options without cluttering the user interface with additional displayedcontrols, performing an operation when a set of conditions has been met without requiring further user input, improving privacy and / or security, providing a more varied, detailed, and / or realistic user experience while saving storage space, and / or additional techniques. These techniques also reduce power usage and improve battery life of the device by enabling the user to use the device more quickly and efficiently. Saving on battery power, and thus weight, improves the ergonomics of the device. These techniques also enable realtime communication, allow for the use of fewer and / or less-precise sensors resulting in a more compact, lighter, and cheaper device, and enable the device to be used in a variety of lighting conditions. These techniques reduce energy usage, thereby reducing heat emitted by the device, which is particularly important for a wearable device where a device well within operational parameters for device components can become uncomfortable for a user to wear if it is producing too much heat.

[0046] In addition, in methods described herein where one or more steps are contingent upon one or more conditions having been met, it should be understood that the described method can be repeated in multiple repetitions so that over the course of the repetitions all of the conditions upon which steps in the method are contingent have been met in different repetitions of the method. For example, if a method requires performing a first step if a condition is satisfied, and a second step if the condition is not satisfied, then a person of ordinary skill would appreciate that the claimed steps are repeated until the condition has been both satisfied and not satisfied, in no particular order. Thus, a method described with104927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more steps that are contingent upon one or more conditions having been met could be rewritten as a method that is repeated until each of the conditions described in the method has been met. This, however, is not required of system or computer readable medium claims where the system or computer readable medium contains instructions for performing the contingent operations based on the satisfaction of the corresponding one or more conditions and thus is capable of determining whether the contingency has or has not been satisfied without explicitly repeating steps of a method until all of the conditions upon which steps in the method are contingent have been met. A person having ordinary skill in the art would also understand that, similar to a method with contingent steps, a system or computer readable storage medium can repeat the steps of a method as many times as are needed to ensure that all of the contingent steps have been performed.

[0047] In some embodiments, as shown in Figure 1 A, the XR experience is provided to the user via an operating environment 100 that includes a computer system 101. The computer system 101 includes a controller 110 (e.g., processors of a portable electronic device or a remote server), a display generation component 120 (e.g., a head-mounted device (HMD), a display, a projector, a touch-screen, etc.), one or more input devices 125 (e.g., an eye tracking device 130, a hand tracking device 140, other input devices 150), one or more output devices 155 (e.g., speakers 160, tactile output generators 170, and other output devices 180), one or more sensors 190 (e.g., image sensors, light sensors, depth sensors, tactile sensors, orientation sensors, proximity sensors, temperature sensors, location sensors, motion sensors, velocity sensors, etc.), and optionally one or more peripheral devices 195 (e.g., home appliances, wearable devices, etc.). In some embodiments, one or more of the input devices 125, output devices 155, sensors 190, and peripheral devices 195 are integrated with the display generation component 120 (e.g., in a head-mounted device or a handheld device).

[0048] When describing an XR experience, various terms are used to differentially refer to several related but distinct environments that the user may sense and / or with which a user may interact (e.g., with inputs detected by a computer system 101 generating the XR experience that cause the computer system generating the XR experience to generate audio, visual, and / or tactile feedback corresponding to various inputs provided to the computer system 101). The following is a subset of these terms:

[0049] Physical environment: A physical environment refers to a physical world that people can sense and / or interact with without aid of electronic systems. Physical environments, such as a physical park, include physical articles, such as physical trees,114927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)physical buildings, and physical people. People can directly sense and / or interact with the physical environment, such as through sight, touch, hearing, taste, and smell.

[0050] Extended reality: In contrast, an extended reality (XR) environment refers to a wholly or partially simulated environment that people sense and / or interact with via an electronic system. In XR, a subset of a person’s physical motions, or representations thereof, are tracked, and, in response, one or more characteristics of one or more virtual objects simulated in the XR environment are adjusted in a manner that comports with at least one law of physics. For example, a XR system may detect a person’s head turning and, in response, adjust graphical content and an acoustic field presented to the person in a manner similar to how such views and sounds would change in a physical environment. In some situations (e.g., for accessibility reasons), adjustments to character! stic(s) of virtual object(s) in a XR environment may be made in response to representations of physical motions (e.g., vocal commands). A person may sense and / or interact with a XR object using any one of their senses, including sight, sound, touch, taste, and smell. For example, a person may sense and / or interact with audio objects that create a 3D or spatial audio environment that provides the perception of point audio sources in 3D space. In another example, audio objects may enable audio transparency, which selectively incorporates ambient sounds from the physical environment with or without computer-generated audio. In some XR environments, a person may sense and / or interact only with audio objects.

[0051] Examples of XR include virtual reality and mixed reality.

[0052] Virtual reality: A virtual reality (VR) environment refers to a simulated environment that is designed to be based entirely on computer-generated sensory inputs for one or more senses. A VR environment comprises a plurality of virtual objects with which a person may sense and / or interact. For example, computer-generated imagery of trees, buildings, and avatars representing people are examples of virtual objects. A person may sense and / or interact with virtual objects in the VR environment through a simulation of the person’s presence within the computer-generated environment, and / or through a simulation of a subset of the person’s physical movements within the computer-generated environment.

[0053] Mixed reality: In contrast to a VR environment, which is designed to be based entirely on computer-generated sensory inputs, a mixed reality (MR) environment refers to a simulated environment that is designed to incorporate sensory inputs from the physical environment, or a representation thereof, in addition to including computer-generated sensory124927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)inputs (e.g., virtual objects). On a virtuality continuum, a mixed reality environment is anywhere between, but not including, a wholly physical environment at one end and virtual reality environment at the other end. In some MR environments, computer-generated sensory inputs may respond to changes in sensory inputs from the physical environment. Also, some electronic systems for presenting an MR environment may track location and / or orientation with respect to the physical environment to enable virtual objects to interact with real objects (that is, physical articles from the physical environment or representations thereof). For example, a system may account for movements so that a virtual tree appears stationary with respect to the physical ground.

[0054] Examples of mixed realities include augmented reality and augmented virtuality.

[0055] Augmented reality: An augmented reality (AR) environment refers to a simulated environment in which one or more virtual objects are superimposed over a physical environment, or a representation thereof. For example, an electronic system for presenting an AR environment may have a transparent or translucent display through which a person may directly view the physical environment. The system may be configured to present virtual objects on the transparent or translucent display, so that a person, using the system, perceives the virtual objects superimposed over the physical environment. Alternatively, a system may have an opaque display and one or more imaging sensors that capture images or video of the physical environment, which are representations of the physical environment. The system composites the images or video with virtual objects, and presents the composition on the opaque display. A person, using the system, indirectly views the physical environment by way of the images or video of the physical environment, and perceives the virtual objects superimposed over the physical environment. As used herein, a video of the physical environment shown on an opaque display is called “pass-through video,” meaning a system uses one or more image sensor(s) to capture images of the physical environment, and uses those images in presenting the AR environment on the opaque display. Further alternatively, a system may have a projection system that projects virtual objects into the physical environment, for example, as a hologram or on a physical surface, so that a person, using the system, perceives the virtual objects superimposed over the physical environment. An augmented reality environment also refers to a simulated environment in which a representation of a physical environment is transformed by computer-generated sensory information. For example, in providing pass-through video, a system may transform one or134927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)more sensor images to impose a select perspective (e.g., viewpoint) different than the perspective captured by the imaging sensors. As another example, a representation of a physical environment may be transformed by graphically modifying (e.g., enlarging) portions thereof, such that the modified portion may be representative but not photorealistic versions of the originally captured images. As a further example, a representation of a physical environment may be transformed by graphically eliminating or obfuscating portions thereof.

[0056] Augmented virtuality: An augmented virtuality (AV) environment refers to a simulated environment in which a virtual or computer-generated environment incorporates one or more sensory inputs from the physical environment. The sensory inputs may be representations of one or more characteristics of the physical environment. For example, an AV park may have virtual trees and virtual buildings, but people with faces photorealistically reproduced from images taken of physical people. As another example, a virtual object may adopt a shape or color of a physical article imaged by one or more imaging sensors. As a further example, a virtual object may adopt shadows consistent with the position of the sun in the physical environment.

[0057] In an augmented reality, mixed reality, or virtual reality environment, a view of a three-dimensional environment is visible to a user. The view of the three-dimensional environment is typically visible to the user via one or more display generation components (e.g., a display or a pair of display modules that provide stereoscopic content to different eyes of the same user) through a virtual viewport that has a viewport boundary that defines an extent of the three-dimensional environment that is visible to the user via the one or more display generation components. In some embodiments, the region defined by the viewport boundary is smaller than a range of vision of the user in one or more dimensions (e.g., based on the range of vision of the user, size, optical properties or other physical characteristics of the one or more display generation components, and / or the location and / or orientation of the one or more display generation components relative to the eyes of the user). In some embodiments, the region defined by the viewport boundary is larger than a range of vision of the user in one or more dimensions (e.g., based on the range of vision of the user, size, optical properties or other physical characteristics of the one or more display generation components, and / or the location and / or orientation of the one or more display generation components relative to the eyes of the user). The viewport and viewport boundary typically move as the one or more display generation components move (e.g., moving with a head of the user for a head mounted device or moving with a hand of a user for a handheld device such as a tablet144927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)or smartphone). A viewpoint of a user determines what content is visible in the viewport, a viewpoint generally specfies a location and a direction relative to the three-dimensional environment, and as the viewpoint shifts, the view of the three-dimensional environment will also shift in the viewport. For a head mounted device, a viewpoint is typically based on a location an direction of the head, face, and / or eyes of a user to provide a view of the three-dimensional environment that is perceptually accurate and provides an immersive experience when the user is using the head-mounted device. For a handheld or stationed device, the viewpoint shifts as the handheld or stationed device is moved and / or as a position of a user relative to the handheld or stationed device changes (e.g., a user moving toward, away from, up, down, to the right, and / or to the left of the device). For devices that include display generation components with virtual passthrough, portions of the physical environment that are visible (e.g., displayed, and / or projected) via the one or more display generation components are based on a field of view of one or more cameras in communication with the display generation components which typcially move with the display generation components (e.g., moving with a head of the user for a head mounted device or moving with a hand of a user for a handheld device such as a tablet or smartphone) because the viewpoint of the user moves as the field of view of the one or more cameras moves (and the appearance of one or more virtual objects displayed via the one or more display generation components is updated based on the viewpoint of the user (e.g., displayed positions and poses of the virtual objects are updated based on the movement of the viewpoint of the user)). For display generation components with optical passthrough, portions of the physical environment that are visible (e.g., optically visible through one or more partially or fully transparent portions of the display generation component) via the one or more display generation components are based on a field of view of a user through the partially or fully transparent portion(s) of the display generation component (e.g., moving with a head of the user for a head mounted device or moving with a hand of a user for a handheld device such as a tablet or smartphone) because the viewpoint of the user moves as the field of view of the user through the partially or fully transparent portions of the display generation components moves (and the appearance of one or more virtual objects is updated based on the viewpoint of the user).

[0058] In some embodiments a representation of a physical environment (e.g., displayed via virtual passthrough or optical passthrough) can be partially or fully obscured by a virtual environment. In some embodiments, the amount of virtual environment that is displayed (e.g., the amount of physical environment that is not displayed) is based on an154927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)immersion level for the virtual environment (e.g., with respect to the representation of the physical environment). For example, increasing the immersion level optionally causes more of the virtual environment to be displayed, replacing and / or obscuring more of the physical environment, and reducing the immersion level optionally causes less of the virtual environment to be displayed, revealing portions of the physical environment that were previously not displayed and / or obscured. In some embodiments, at a particular immersion level, one or more first background objects (e.g., in the representation of the physical environment) are visually de-emphasized (e.g., dimmed, blurred, and / or displayed with increased transparency) more than one or more second background objects, and one or more third background objects cease to be displayed. In some embodiments, a level of immersion includes an associated degree to which the virtual content displayed by the computer system (e.g., the virtual environment and / or the virtual content) obscures background content (e.g., content other than the virtual environment and / or the virtual content) around / behind the virtual content, optionally including the number of items of background content displayed and / or the visual characteristics (e.g., colors, contrast, and / or opacity) with which the background content is displayed, the angular range of the virtual content displayed via the display generation component (e.g., 60 degrees of content displayed at low immersion, 120 degrees of content displayed at medium immersion, or 180 degrees of content displayed at high immersion), and / or the proportion of the field of view displayed via the display generation component that is consumed by the virtual content (e.g., 33% of the field of view consumed by the virtual content at low immersion, 66% of the field of view consumed by the virtual content at medium immersion, or 100% of the field of view consumed by the virtual content at high immersion). In some embodiments, the background content is included in a background over which the virtual content is displayed (e.g., background content in the representation of the physical environment). In some embodiments, the background content includes user interfaces (e.g., user interfaces generated by the computer system corresponding to applications), virtual objects (e.g., files or representations of other users generated by the computer system) not associated with or included in the virtual environment and / or virtual content, and / or real objects (e.g., pass-through objects representing real objects in the physical environment around the user that are visible such that they are displayed via the display generation component and / or a visible via a transparent or translucent component of the display generation component because the computer system does not obscure / prevent visibility of them through the display generation component). In some embodiments, at a low level of immersion (e.g., a first level of immersion), the background, virtual and / or real164927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)objects are displayed in an unobscured manner. For example, a virtual environment with a low level of immersion is optionally displayed concurrently with the background content, which is optionally displayed with full brightness, color, and / or translucency. In some embodiments, at a higher level of immersion (e.g., a second level of immersion higher than the first level of immersion), the background, virtual and / or real objects are displayed in an obscured manner (e.g., dimmed, blurred, or removed from display). For example, a respective virtual environment with a high level of immersion is displayed without concurrently displaying the background content (e.g., in a full screen or fully immersive mode). As another example, a virtual environment displayed with a medium level of immersion is displayed concurrently with darkened, blurred, or otherwise de-emphasized background content. In some embodiments, the visual characteristics of the background objects vary among the background objects. For example, at a particular immersion level, one or more first background objects are visually de-emphasized (e.g., dimmed, blurred, and / or displayed with increased transparency) more than one or more second background objects, and one or more third background objects cease to be displayed. In some embodiments, a null or zero level of immersion corresponds to the virtual environment ceasing to be displayed and instead a representation of a physical environment is displayed (optionally with one or more virtual objets such as application, windows, or virtual three-dimensional objects) without the representation of the physical environment being obscured by the virtual environment. Adjusting the level of immersion using a physical input element provides for quick and efficient method of adjusting immersion, which enhances the operability of the computer system and makes the user-device interface more efficient.

[0059] Viewpoint-locked virtual object: A virtual object is viewpoint-locked when a computer system displays the virtual object at the same location and / or position in the viewpoint of the user, even as the viewpoint of the user shifts (e.g., changes). In embodiments where the computer system is a head-mounted device, the viewpoint of the user is locked to the forward facing direction of the user’s head (e.g., the viewpoint of the user is at least a portion of the field-of-view of the user when the user is looking straight ahead); thus, the viewpoint of the user remains fixed even as the user’s gaze is shifted, without moving the user’s head. In embodiments where the computer system has a display generation component (e.g., a display screen) that can be repositioned with respect to the user’s head, the viewpoint of the user is the augmented reality view that is being presented to the user on a display generation component of the computer system. For example, a viewpoint-locked virtual174927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)object that is displayed in the upper left corner of the viewpoint of the user, when the viewpoint of the user is in a first orientation (e.g., with the user’s head facing north) continues to be displayed in the upper left corner of the viewpoint of the user, even as the viewpoint of the user changes to a second orientation (e.g., with the user’s head facing west). In other words, the location and / or position at which the viewpoint-locked virtual object is displayed in the viewpoint of the user is independent of the user’s position and / or orientation in the physical environment. In embodiments in which the computer system is a headmounted device, the viewpoint of the user is locked to the orientation of the user’s head, such that the virtual object is also referred to as a “head-locked virtual object.”

[0060] Environment-locked virtual object: A virtual object is environment-locked (alternatively, “world-locked”) when a computer system displays the virtual object at a location and / or position in the viewpoint of the user that is based on (e.g., selected in reference to and / or anchored to) a location and / or object in the three-dimensional environment (e.g., a physical environment or a virtual environment). As the viewpoint of the user shifts, the location and / or object in the environment relative to the viewpoint of the user changes, which results in the environment-locked virtual object being displayed at a different location and / or position in the viewpoint of the user. For example, an environment-locked virtual object that is locked onto a tree that is immediately in front of a user is displayed at the center of the viewpoint of the user. When the viewpoint of the user shifts to the right (e.g., the user’s head is turned to the right) so that the tree is now left-of-center in the viewpoint of the user (e.g., the tree’s position in the viewpoint of the user shifts), the environment-locked virtual object that is locked onto the tree is displayed left-of-center in the viewpoint of the user. In other words, the location and / or position at which the environment-locked virtual object is displayed in the viewpoint of the user is dependent on the position and / or orientation of the location and / or object in the environment onto which the virtual object is locked. In some embodiments, the computer system uses a stationary frame of reference (e.g., a coordinate system that is anchored to a fixed location and / or object in the physical environment) in order to determine the position at which to display an environment-locked virtual object in the viewpoint of the user. An environment-locked virtual object can be locked to a stationary part of the environment (e.g., a floor, wall, table, or other stationary object) or can be locked to a moveable part of the environment (e.g., a vehicle, animal, person, or even a representation of portion of the users body that moves independently of a viewpoint of the user, such as a user’s hand, wrist, arm, or foot) so that the virtual object is184927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)moved as the viewpoint or the portion of the environment moves to maintain a fixed relationship between the virtual object and the portion of the environment.

[0061] In some embodiments a virtual object that is environment-locked or viewpoint-locked exhibits lazy follow behavior which reduces or delays motion of the environment-locked or viewpoint-locked virtual object relative to movement of a point of reference which the virtual object is following. In some embodiments, when exhibiting lazy follow behavior the computer system intentionally delays movement of the virtual object when detecting movement of a point of reference (e.g., a portion of the environment, the viewpoint, or a point that is fixed relative to the viewpoint, such as a point that is between 5-300cm from the viewpoint) which the virtual object is following. For example, when the point of reference (e.g., the portion of the environement or the viewpoint) moves with a first speed, the virtual object is moved by the device to remain locked to the point of reference but moves with a second speed that is slower than the first speed (e.g., until the point of reference stops moving or slows down, at which point the virtual object starts to catch up to the point of reference). In some embodiments, when a virtual object exhibits lazy follow behavior the device ignores small amounts of movment of the point of reference (e.g., ignoring movement of the point of reference that is below a threshold amount of movement such as movement by 0-5 degrees or movement by 0-50 cm). For example, when the point of reference (e.g., the portion of the environment or the viewpoint to which the virtual object is locked) moves by a first amount, a distance between the point of reference and the virtual object increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the point of reference to which the virtual object is locked) and when the point of reference (e.g., the portion of the environment or the viewpoint to which the virtual object is locked) moves by a second amount that is greater than the first amount, a distance between the point of reference and the virtual object initially increases (e.g., because the virtual object is being displayed so as to maintain a fixed or substantially fixed position relative to a viewpoint or portion of the environment that is different from the point of reference to which the virtual object is locked) and then decreases as the amount of movement of the point of reference increases above a threshold (e.g., a “lazy follow” threshold) because the virtual object is moved by the computer system to maintain a fixed or substantially fixed position relative to the point of reference. In some embodiments the virtual object maintaining a substantially fixed position relative to the point of reference includes the virtual object being displayed within a threshold194927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)distance (e.g., 1, 2, 3, 5, 15, 20, 50 cm) of the point of reference in one or more dimensions (e.g., up / down, left / right, and / or forward / b ackward relative to the position of the point of reference).

[0062] Hardware: There are many different types of electronic systems that enable a person to sense and / or interact with various XR environments. Examples include headmounted systems, projection-based systems, heads-up displays (HUDs), vehicle windshields having integrated display capability, windows having integrated display capability, displays formed as lenses designed to be placed on a person’s eyes (e.g., similar to contact lenses), headphones / earphones, speaker arrays, input systems (e.g., wearable or handheld controllers with or without haptic feedback), smartphones, tablets, and desktop / laptop computers. A head-mounted system may have one or more speaker(s) and an integrated opaque display. Alternatively, a head-mounted system may be configured to accept an external opaque display (e.g., a smartphone). The head-mounted system may incorporate one or more imaging sensors to capture images or video of the physical environment, and / or one or more microphones to capture audio of the physical environment. Rather than an opaque display, a head-mounted system may have a transparent or translucent display. The transparent or translucent display may have a medium through which light representative of images is directed to a person’s eyes. The display may utilize digital light projection, OLEDs, LEDs, uLEDs, liquid crystal on silicon, laser scanning light source, or any combination of these technologies. The medium may be an optical waveguide, a hologram medium, an optical combiner, an optical reflector, or any combination thereof. In one embodiment, the transparent or translucent display may be configured to become opaque selectively.Projection-based systems may employ retinal projection technology that projects graphical images onto a person’s retina. Projection systems also may be configured to project virtual objects into the physical environment, for example, as a hologram or on a physical surface. In some embodiments, the controller 110 is configured to manage and coordinate a XR experience for the user. In some embodiments, the controller 110 includes a suitable combination of software, firmware, and / or hardware. The controller 110 is described in greater detail below with respect to Figure 2. In some embodiments, the controller 110 is a computing device that is local or remote relative to the scene 105 (e.g., a physical environment). For example, the controller 110 is a local server located within the scene 105. In another example, the controller 110 is a remote server located outside of the scene 105 (e.g., a cloud server, central server, etc.). In some embodiments, the controller 110 is204927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)communicatively coupled with the display generation component 120 (e.g., an HMD, a display, a projector, a touch-screen, etc.) via one or more wired or wireless communication channels 144 (e.g., BLUETOOTH, IEEE 802.1 lx, IEEE 802.16x, IEEE 802.3x, etc.). In another example, the controller 110 is included within the enclosure (e.g., a physical housing) of the display generation component 120 (e.g., an HMD, or a portable electronic device that includes a display and one or more processors, etc.), one or more of the input devices 125, one or more of the output devices 155, one or more of the sensors 190, and / or one or more of the peripheral devices 195, or share the same physical enclosure or support structure with one or more of the above.

[0063] In some embodiments, the display generation component 120 is configured to provide the XR experience (e.g., at least a visual component of the XR experience) to the user. In some embodiments, the display generation component 120 includes a suitable combination of software, firmware, and / or hardware. The display generation component 120 is described in greater detail below with respect to Figure 3 A. In some embodiments, the functionalities of the controller 110 are provided by and / or combined with the display generation component 120.

[0064] According to some embodiments, the display generation component 120 provides an XR experience to the user while the user is virtually and / or physically present within the scene 105.

[0065] In some embodiments, the display generation component is worn on a part of the user’s body (e.g., on his / her head, on his / her hand, etc.). As such, the display generation component 120 includes one or more XR displays provided to display the XR content. For example, in various embodiments, the display generation component 120 encloses the field-of-view of the user. In some embodiments, the display generation component 120 is a handheld device (such as a smartphone or tablet) configured to present XR content, and the user holds the device with a display directed towards the field-of-view of the user and a camera directed towards the scene 105. In some embodiments, the handheld device is optionally placed within an enclosure that is worn on the head of the user. In some embodiments, the handheld device is optionally placed on a support (e.g., a tripod) in front of the user. In some embodiments, the display generation component 120 is a XR chamber, enclosure, or room configured to present XR content in which the user does not wear or hold the display generation component 120. Many user interfaces described with reference to one type of hardware for displaying XR content (e.g., a handheld device or a device on a tripod) could be implemented on another type of hardware for displaying XR content (e.g., an HMD214927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)or other wearable computing device). For example, a user interface showing interactions with XR content triggered based on interactions that happen in a space in front of a handheld or tripod mounted device could similarly be implemented with an HMD where the interactions happen in a space in front of the HMD and the responses of the XR content are displayed via the HMD. Similarly, a user interface showing interactions with XR content triggered based on movement of a handheld or tripod mounted device relative to the physical environment (e.g., the scene 105 or a part of the user’s body (e.g., the user’s eye(s), head, or hand)) could similarly be implemented with an HMD where the movement is caused by movement of the HMD relative to the physical environment (e.g., the scene 105 or a part of the user’s body (e.g., the user’s eye(s), head, or hand)).

[0066] While pertinent features of the operating environment 100 are shown in Figure 1 A, those of ordinary skill in the art will appreciate from the present disclosure that various other features have not been illustrated for the sake of brevity and so as not to obscure more pertinent aspects of the example embodiments disclosed herein.

[0067] Figures 1 A-1P illustrate various examples of a computer system that is used to perform the methods and provide audio, visual and / or haptic feedback as part of user interfaces described herein. In some embodiments, the computer system includes one or more display generation components (e.g., first and second display assemblies l-120a, l-120b and / or first and second optical modules 11.1. l-104a and 11.1. l-104b) for displaying virtual elements and / or a representation of a physical environment to a user of the computer system, optionally generated based on detected events and / or user inputs detected by the computer system. User interfaces generated by the computer system are optionally corrected by one or more corrective lenses 11.3.2-216 that are optionally removably attached to one or more of the optical modules to enable the user interfaces to be more easily viewed by users who would otherwise use glasses or contacts to correct their vision. While many user interfaces illustrated herein show a single view of a user interface, user interfaces in a HMD are optionally displayed using two optical modules (e.g., first and second display assemblies 1-120a, l-120b and / or first and second optical modules ll.l.l-104a and 11.1. l-104b), one for a user’s right eye and a different one for a user’s left eye, and slightly different images are presented to the two different eyes to generate the illusion of stereoscopic depth, the single view of the user interface would typically be either a right-eye or left-eye view and the depth effect is explained in the text or using other schematic charts or views. In some embodiments, the computer system includes one or more external displays (e.g., display assembly 1-108)224927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)for displaying status information for the computer system to the user of the computer system (when the computer system is not being worn) and / or to other people who are near the computer system, optionally generated based on detected events and / or user inputs detected by the computer system. In some embodiments, the computer system includes one or more audio output components (e.g., electronic component 1-112) for generating audio feedback, optionally generated based on detected events and / or user inputs detected by the computer system. In some embodiments, the computer system includes one or more input devices for detecting input such as one or more sensors (e.g., one or more sensors in sensor assembly 1-356, and / or Figure II) for detecting information about a physical environment of the device which can be used (optionally in conjunction with one or more illuminators such as the illuminators described in Figure II) to generate a digital passthrough image, capture visual media corresponding to the physical environment (e.g., photos and / or video), or determine a pose (e.g., position and / or orientation) of physical objects and / or surfaces in the physical environment so that virtual objects ban be placed based on a detected pose of physical objects and / or surfaces. In some embodiments, the computer system includes one or more input devices for detecting input such as one or more sensors for detecting hand position and / or movement (e.g., one or more sensors in sensor assembly 1-356, and / or Figure II) that can be used (optionally in conjunction with one or more illuminators such as the illuminators 6-124 described in Figure II) to determine when one or more air gestures have been performed. In some embodiments, the computer system includes one or more input devices for detecting input such as one or more sensors for detecting eye movement (e.g., eye tracking and gaze tracking sensors in Figure II) which can be used (optionally in conjunction with one or more lights such as lights 11.3.2-110 in Figure 10) to determine attention or gaze position and / or gaze movement which can optionally be used to detect gaze-only inputs based on gaze movement and / or dwell. A combination of the various sensors described above can be used to determine user facial expressions and / or hand movements for use in generating an avatar or representation of the user such as an anthropomorphic avatar or representation for use in a real-time communication session where the avatar has facial expressions, hand movements, and / or body movements that are based on or similar to detected facial expressions, hand movements, and / or body movements of a user of the device. Gaze and / or attention information is, optionally, combined with hand tracking information to determine interactions between the user and one or more user interfaces based on direct and / or indirect inputs such as air gestures or inputs that use one or more hardware input devices such as one or more buttons (e.g., first button 1-128, button 11.1.1-114 , second button 1-132, and or dial or234927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)button 1-328), knobs (e.g., first button 1-128, button 11.1.1-114, and / or dial or button 1-328), digital crowns (e.g., first button 1-128 which is depressible and twistable or rotatable, button 11.1.1-114, and / or dial or button 1-328), trackpads, touch screens, keyboards, mice and / or other input devices. One or more buttons (e.g., first button 1-128, button 11.1.1-114, second button 1-132, and or dial or button 1-328) are optionally used to perform system operations such as recentering content in three-dimensional environment that is visible to a user of the device, displaying a home user interface for launching applications, starting real-time communication sessions, or initiating display of virtual three-dimensional backgrounds. Knobs or digital crowns (e.g., first button 1-128 which is depressible and twistable or rotatable, button 11.1.1-114, and / or dial or button 1-328) are optionally rotatable to adjust parameters of the visual content such as a level of immersion of a virtual three-dimensional environment (e.g., a degree to which virtual-content occupies the viewport of the user into the three-dimensional environment) or other parameters associated with the three-dimensional environment and the virtual content that is displayed via the optical modules (e.g., first and second display assemblies l-120a, l-120b and / or first and second optical modules 11.1.1-104a and 11.1. l-104b).

[0068] FIG. IB illustrates a front, top, perspective view of an example of a head-mountable display (HMD) device 1-100 configured to be donned by a user and provide virtual and altered / mixed reality (VR / AR) experiences. The HMD 1-100 can include a display unit 1-102 or assembly, an electronic strap assembly 1-104 connected to and extending from the display unit 1-102, and a band assembly 1-106 secured at either end to the electronic strap assembly 1-104. The electronic strap assembly 1-104 and the band 1-106 can be part of a retention assembly configured to wrap around a user’s head to hold the display unit 1-102 against the face of the user.

[0069] In at least one example, the band assembly 1-106 can include a first band 1-116 configured to wrap around the rear side of a user’s head and a second band 1-117 configured to extend over the top of a user’s head. The second strap can extend between first and second electronic straps l-105a, 1 -105b of the electronic strap assembly 1-104 as shown. The strap assembly 1-104 and the band assembly 1-106 can be part of a securement mechanism extending rearward from the display unit 1-102 and configured to hold the display unit 1-102 against a face of a user.

[0070] In at least one example, the securement mechanism includes a first electronic strap l-105a including a first proximal end 1-134 coupled to the display unit 1-102, for244927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)example a housing 1-150 of the display unit 1-102, and a first distal end 1-136 opposite the first proximal end 1-134. The securement mechanism can also include a second electronic strap 1 -105b including a second proximal end 1-138 coupled to the housing 1-150 of the display unit 1-102 and a second distal end 1-140 opposite the second proximal end 1-138. The securement mechanism can also include the first band 1-116 including a first end 1-142 coupled to the first distal end 1-136 and a second end 1-144 coupled to the second distal end 1-140 and the second band 1-117 extending between the first electronic strap l-105a and the second electronic strap 1 - 105b . The straps l-105a-b and band 1-116 can be coupled via connection mechanisms or assemblies 1-114. In at least one example, the second band 1-117 includes a first end 1-146 coupled to the first electronic strap l-105a between the first proximal end 1-134 and the first distal end 1-136 and a second end 1-148 coupled to the second electronic strap 1 -105b between the second proximal end 1-138 and the second distal end 1-140.

[0071] In at least one example, the first and second electronic straps l-105a-b include plastic, metal, or other structural materials forming the shape the substantially rigid straps 1-105a-b. In at least one example, the first and second bands 1-116, 1-117 are formed of elastic, flexible materials including woven textiles, rubbers, and the like. The first and second bands 1-116, 1-117 can be flexible to conform to the shape of the user’ head when donning the HMD 1-100.

[0072] In at least one example, one or more of the first and second electronic straps 1-105a-b can define internal strap volumes and include one or more electronic components disposed in the internal strap volumes. In one example, as shown in FIG. IB, the first electronic strap l-105a can include an electronic component 1-112. In one example, the electronic component 1-112 can include a speaker. In one example, the electronic component 1-112 can include a computing component such as a processor.

[0073] In at least one example, the housing 1-150 defines a first, front-facing opening 1-152. The front-facing opening is labeled in dotted lines at 1-152 in FIG. IB because the display assembly 1-108 is disposed to occlude the first opening 1-152 from view when the HMD 1-100 is assembled. The housing 1-150 can also define a rear-facing second opening 1-154. The housing 1-150 also defines an internal volume between the first and second openings 1-152, 1-154. In at least one example, the HMD 1-100 includes the display assembly 1-108, which can include a front cover and display screen (shown in other figures) disposed in or across the front opening 1-152 to occlude the front opening 1-152. In at least254927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one example, the display screen of the display assembly 1-108, as well as the display assembly 1-108 in general, has a curvature configured to follow the curvature of a user’s face. The display screen of the display assembly 1-108 can be curved as shown to compliment the user’s facial features and general curvature from one side of the face to the other, for example from left to right and / or from top to bottom where the display unit 1-102 is pressed.

[0074] In at least one example, the housing 1-150 can define a first aperture 1-126 between the first and second openings 1-152, 1-154 and a second aperture 1-130 between the first and second openings 1-152, 1-154. The HMD 1-100 can also include a first button 1-128 disposed in the first aperture 1-126 and a second button 1-132 disposed in the second aperture 1-130. The first and second buttons 1-128, 1-132 can be depressible through the respective apertures 1-126, 1-130. In at least one example, the first button 1-126 and / or second button 1-132 can be twistable dials as well as depressible buttons. In at least one example, the first button 1-128 is a depressible and twistable dial button and the second button 1-132 is a depressible button.

[0075] FIG. 1C illustrates a rear, perspective view of the HMD 1-100. The HMD 1-100 can include a light seal 1-110 extending rearward from the housing 1-150 of the display assembly 1-108 around a perimeter of the housing 1-150 as shown. The light seal 1-110 can be configured to extend from the housing 1-150 to the user’s face around the user’s eyes to block external light from being visible. In one example, the HMD 1-100 can include first and second display assemblies l-120a, l-120b disposed at or in the rearward facing second opening 1-154 defined by the housing 1-150 and / or disposed in the internal volume of the housing 1-150 and configured to project light through the second opening 1-154. In at least one example, each display assembly l-120a-b can include respective display screens l-122a, l-122b configured to project light in a rearward direction through the second opening 1-154 toward the user’s eyes.

[0076] In at least one example, referring to both FIGS. IB and 1C, the display assembly 1-108 can be a front-facing, forward display assembly including a display screen configured to project light in a first, forward direction and the rear facing display screens 1-122a-b can be configured to project light in a second, rearward direction opposite the first direction. As noted above, the light seal 1-110 can be configured to block light external to the HMD 1-100 from reaching the user’s eyes, including light projected by the forward facing display screen of the display assembly 1-108 shown in the front perspective view of FIG. IB.264927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)In at least one example, the HMD 1-100 can also include a curtain 1-124 occluding the second opening 1-154 between the housing 1-150 and the rear-facing display assemblies 1-120a-b. In at least one example, the curtain 1-124 can be elastic or at least partially elastic.

[0077] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIGS. IB and 1C can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. ID - IF and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. ID - IF can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIGS. IB and 1C.

[0078] FIG. ID illustrates an exploded view of an example of an HMD 1-200 including various portions or parts thereof separated according to the modularity and selective coupling of those parts. For example, the HMD 1-200 can include a band 1-216 which can be selectively coupled to first and second electronic straps l-205a, l-205b. The first securement strap l-205a can include a first electronic component l-212a and the second securement strap l-205b can include a second electronic component 1-212b. In at least one example, the first and second straps l-205a-b can be removably coupled to the display unit 1-202.

[0079] In addition, the HMD 1-200 can include a light seal 1-210 configured to be removably coupled to the display unit 1-202. The HMD 1-200 can also include lenses 1-218 which can be removably coupled to the display unit 1-202, for example over first and second display assemblies including display screens. The lenses 1-218 can include customized prescription lenses configured for corrective vision. As noted, each part shown in the exploded view of FIG. ID and described above can be removably coupled, attached, reattached, and changed out to update parts or swap out parts for different users. For example, bands such as the band 1-216, light seals such as the light seal 1-210, lenses such as the lenses 1-218, and electronic straps such as the straps l-205a-b can be swapped out depending on the user such that these parts are customized to fit and correspond to the individual user of the HMD 1-200.

[0080] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. ID can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IB,274927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)1C, and IE - IF and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IB, 1C, and IE - IF can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. ID.

[0081] FIG. IE illustrates an exploded view of an example of a display unit 1-306 of a HMD. The display unit 1-306 can include a front display assembly 1-308, a frame / housing assembly 1-350, and a curtain assembly 1-324. The display unit 1-306 can also include a sensor assembly 1-356, logic board assembly 1-358, and cooling assembly 1-360 disposed between the frame assembly 1-350 and the front display assembly 1-308. In at least one example, the display unit 1-306 can also include a rear-facing display assembly 1-320 including first and second rear-facing display screens l-322a, 1-322b disposed between the frame 1-350 and the curtain assembly 1-324.

[0082] In at least one example, the display unit 1-306 can also include a motor assembly 1-362 configured as an adjustment mechanism for adjusting the positions of the display screens l-322a-b of the display assembly 1-320 relative to the frame 1-350. In at least one example, the display assembly 1-320 is mechanically coupled to the motor assembly 1-362, with at least one motor for each display screen l-322a-b, such that the motors can translate the display screens l-322a-b to match an interpupillary distance of the user’s eyes.

[0083] In at least one example, the display unit 1-306 can include a dial or button 1-328 depressible relative to the frame 1-350 and accessible to the user outside the frame 1-350. The button 1-328 can be electronically connected to the motor assembly 1-362 via a controller such that the button 1-328 can be manipulated by the user to cause the motors of the motor assembly 1-362 to adjust the positions of the display screens l-322a-b.

[0084] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IE can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IB -ID and IF and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IB - ID and IF can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IE.

[0085] FIG. IF illustrates an exploded view of another example of a display unit 1-406 of a HMD device similar to other HMD devices described herein. The display unit 1-406284927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)can include a front display assembly 1-402, a sensor assembly 1-456, a logic board assembly 1-458, a cooling assembly 1-460, a frame assembly 1-450, a rear-facing display assembly 1-421, and a curtain assembly 1-424. The display unit 1-406 can also include a motor assembly 1-462 for adjusting the positions of first and second display sub-assemblies l-420a, l-420b of the rear-facing display assembly 1-421, including first and second respective display screens for interpupillary adjustments, as described above.

[0086] The various parts, systems, and assemblies shown in the exploded view of FIG. IF are described in greater detail herein with reference to FIGS. IB - IE as well as subsequent figures referenced in the present disclosure. The display unit 1-406 shown in FIG. IF can be assembled and integrated with the securement mechanisms shown in FIGS. IB -IE, including the electronic straps, bands, and other components including light seals, connection assemblies, and so forth.

[0087] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IF can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IB -IE and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IB - IE can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IF.

[0088] Figure 1G illustrates a perspective, exploded view of a front cover assembly 3-100 of an HMD device described herein, for example the front cover assembly 3-1 of the HMD 3-100 shown in FIG. 1G or any other HMD device shown and described herein. The front cover assembly 3-100 shown in FIG. 1G can include a transparent or semi-transparent cover 3-102, shroud 3-104 (or “canopy”), adhesive layers 3-106, display assembly 3-108 including a lenticular lens panel or array 3-110, and a structural trim 3-112. The adhesive layer 3-106 can secure the shroud 3-104 and / or transparent cover 3-102 to the display assembly 3-108 and / or the trim 3-112. The trim 3-112 can secure the various components of the front cover assembly 3-100 to a frame or chassis of the HMD device.

[0089] In at least one example, as shown in FIG. 1G, the transparent cover 3-102, shroud 3-104, and display assembly 3-108, including the lenticular lens array 3-110, can be curved to accommodate the curvature of a user’s face. The transparent cover 3-102 and the shroud 3-104 can be curved in two or three dimensions, e.g., vertically curved in the Z-294927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)direction in and out of the Z-X plane and horizontally curved in the X-direction in and out of the Z-X plane. In at least one example, the display assembly 3-108 can include the lenticular lens array 3-110 as well as a display panel having pixels configured to project light through the shroud 3-104 and the transparent cover 3-102. The display assembly 3-108 can be curved in at least one direction, for example the horizontal direction, to accommodate the curvature of a user’s face from one side (e.g., left side) of the face to the other (e.g., right side). In at least one example, each layer or component of the display assembly 3-108, which will be shown in subsequent figures and described in more detail, but which can include the lenticular lens array 3-110 and a display layer, can be similarly or concentrically curved in the horizontal direction to accommodate the curvature of the user’s face.

[0090] In at least one example, the shroud 3-104 can include a transparent or semitransparent material through which the display assembly 3-108 projects light. In one example, the shroud 3-104 can include one or more opaque portions, for example opaque ink-printed portions or other opaque film portions on the rear surface of the shroud 3-104. The rear surface can be the surface of the shroud 3-104 facing the user’s eyes when the HMD device is donned. In at least one example, opaque portions can be on the front surface of the shroud 3-104 opposite the rear surface. In at least one example, the opaque portion or portions of the shroud 3-104 can include perimeter portions visually hiding any components around an outside perimeter of the display screen of the display assembly 3-108. In this way, the opaque portions of the shroud hide any other components, including electronic components, structural components, and so forth, of the HMD device that would otherwise be visible through the transparent or semi-transparent cover 3-102 and / or shroud 3-104.

[0091] In at least one example, the shroud 3-104 can define one or more apertures transparent portions 3-120 through which sensors can send and receive signals. In one example, the portions 3-120 are apertures through which the sensors can extend or send and receive signals. In one example, the portions 3-120 are transparent portions, or portions more transparent than surrounding semi-transparent or opaque portions of the shroud, through which sensors can send and receive signals through the shroud and through the transparent cover 3-102. In one example, the sensors can include cameras, IR sensors, LUX sensors, or any other visual or non-visual environmental sensors of the HMD device.

[0092] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. 1G can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts described herein.304927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG.1G.

[0093] FIG. 1H illustrates an exploded view of an example of an HMD device 6-100. The HMD device 6-100 can include a sensor array or system 6-102 including one or more sensors, cameras, projectors, and so forth mounted to one or more components of the HMD 6-100. In at least one example, the sensor system 6-102 can include a bracket 1-338 on which one or more sensors of the sensor system 6-102 can be fixed / secured.

[0094] FIG. II illustrates a portion of an HMD device 6-100 including a front transparent cover 6-104 and a sensor system 6-102. The sensor system 6-102 can include a number of different sensors, emitters, receivers, including cameras, IR sensors, projectors, and so forth. The transparent cover 6-104 is illustrated in front of the sensor system 6-102 to illustrate relative positions of the various sensors and emitters as well as the orientation of each sensor / emitter of the system 6-102. As referenced herein, “sideways,” “side,” “lateral,” “horizontal,” and other similar terms refer to orientations or directions as indicated by the X-axis shown in FIG. 1 J. Terms such as “vertical,” “up,” “down,” and similar terms refer to orientations or directions as indicated by the Z-axis shown in FIG. 1 J. Terms such as “frontward,” “rearward,” “forward,” backward,” and similar terms refer to orientations or directions as indicated by the Y-axis shown in FIG. 1 J.

[0095] In at least one example, the transparent cover 6-104 can define a front, external surface of the HMD device 6-100 and the sensor system 6-102, including the various sensors and components thereof, can be disposed behind the cover 6-104 in the Y-axis / direction. The cover 6-104 can be transparent or semi-transparent to allow light to pass through the cover 6-104, both light detected by the sensor system 6-102 and light emitted thereby.

[0096] As noted elsewhere herein, the HMD device 6-100 can include one or more controllers including processors for electrically coupling the various sensors and emitters of the sensor system 6-102 with one or more mother boards, processing units, and other electronic devices such as display screens and the like. In addition, as will be shown in more detail below with reference to other figures, the various sensors, emitters, and other components of the sensor system 6-102 can be coupled to various structural frame members,314927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)brackets, and so forth of the HMD device 6-100 not shown in FIG. II. FIG. II shows the components of the sensor system 6-102 unattached and un-coupled electrically from other components for the sake of illustrative clarity.

[0097] In at least one example, the device can include one or more controllers having processors configured to execute instructions stored on memory components electrically coupled to the processors. The instructions can include, or cause the processor to execute, one or more algorithms for self-correcting angles and positions of the various cameras described herein overtime with use as the initial positions, angles, or orientations of the cameras get bumped or deformed due to unintended drop events or other events.

[0098] In at least one example, the sensor system 6-102 can include one or more scene cameras 6-106. The system 6-102 can include two scene cameras 6-102 disposed on either side of the nasal bridge or arch of the HMD device 6-100 such that each of the two cameras 6-106 correspond generally in position with left and right eyes of the user behind the cover 6-103. In at least one example, the scene cameras 6-106 are oriented generally forward in the Y-direction to capture images in front of the user during use of the HMD 6-100. In at least one example, the scene cameras are color cameras and provide images and content for MR video pass through to the display screens facing the user’s eyes when using the HMD device 6-100. The scene cameras 6-106 can also be used for environment and object reconstruction.

[0099] In at least one example, the sensor system 6-102 can include a first depth sensor 6-108 pointed generally forward in the Y-direction. In at least one example, the first depth sensor 6-108 can be used for environment and object reconstruction as well as user hand and body tracking. In at least one example, the sensor system 6-102 can include a second depth sensor 6-110 disposed centrally along the width (e.g., along the X-axis) of the HMD device 6-100. For example, the second depth sensor 6-110 can be disposed above the central nasal bridge or accommodating features over the nose of the user when donning the HMD 6-100. In at least one example, the second depth sensor 6-110 can be used for environment and object reconstruction as well as hand and body tracking. In at least one example, the second depth sensor can include a LIDAR sensor.

[0100] In at least one example, the sensor system 6-102 can include a depth projector 6-112 facing generally forward to project electromagnetic waves, for example in the form of a predetermined pattern of light dots, out into and within a field of view of the user and / or the324927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)scene cameras 6-106 or a field of view including and beyond the field of view of the user and / or scene cameras 6-106. In at least one example, the depth projector can project electromagnetic waves of light in the form of a dotted light pattern to be reflected off objects and back into the depth sensors noted above, including the depth sensors 6-108, 6-110. In at least one example, the depth projector 6-112 can be used for environment and object reconstruction as well as hand and body tracking.

[0101] In at least one example, the sensor system 6-102 can include downward facing cameras 6-114 with a field of view pointed generally downward relative to the HDM device 6-100 in the Z-axis. In at least one example, the downward cameras 6-114 can be disposed on left and right sides of the HMD device 6-100 as shown and used for hand and body tracking, headset tracking, and facial avatar detection and creation for display a user avatar on the forward facing display screen of the HMD device 6-100 described elsewhere herein. The downward cameras 6-114, for example, can be used to capture facial expressions and movements for the face of the user below the HMD device 6-100, including the cheeks, mouth, and chin.

[0102] In at least one example, the sensor system 6-102 can include jaw cameras 6-116. In at least one example, the jaw cameras 6-116 can be disposed on left and right sides of the HMD device 6-100 as shown and used for hand and body tracking, headset tracking, and facial avatar detection and creation for display a user avatar on the forward facing display screen of the HMD device 6-100 described elsewhere herein. The jaw cameras 6-116, for example, can be used to capture facial expressions and movements for the face of the user below the HMD device 6-100, including the user’s jaw, cheeks, mouth, and chin, for hand and body tracking, headset tracking, and facial avatar

[0103] In at least one example, the sensor system 6-102 can include side cameras 6-118. The side cameras 6-118 can be oriented to capture side views left and right in the X-axis or direction relative to the HMD device 6-100. In at least one example, the side cameras 6-118 can be used for hand and body tracking, headset tracking, and facial avatar detection and re-creation.

[0104] In at least one example, the sensor system 6-102 can include a plurality of eye tracking and gaze tracking sensors for determining an identity, status, and gaze direction of a user’s eyes during and / or before use. In at least one example, the eye / gaze tracking sensors can include nasal eye cameras 6-120 disposed on either side of the user’s nose and adjacent334927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the user’s nose when donning the HMD device 6-100. The eye / gaze sensors can also include bottom eye cameras 6-122 disposed below respective user eyes for capturing images of the eyes for facial avatar detection and creation, gaze tracking, and iris identification functions.

[0105] In at least one example, the sensor system 6-102 can include infrared illuminators 6-124 pointed outward from the HMD device 6-100 to illuminate the external environment and any object therein with IR light for IR detection with one or more IR sensors of the sensor system 6-102. In at least one example, the sensor system 6-102 can include a flicker sensor 6-126 and an ambient light sensor 6-128. In at least one example, the flicker sensor 6-126 can detect overhead light refresh rates to avoid display flicker. In one example, the infrared illuminators 6-124 can include light emitting diodes and can be used especially for low light environments for illuminating user hands and other objects in low light for detection by infrared sensors of the sensor system 6-102.

[0106] In at least one example, multiple sensors, including the scene cameras 6-106, the downward cameras 6-114, the jaw cameras 6-116, the side cameras 6-118, the depth projector 6-112, and the depth sensors 6-108, 6-110 can be used in combination with an electrically coupled controller to combine depth data with camera data for hand tracking and for size determination for better hand tracking and object recognition and tracking functions of the HMD device 6-100. In at least one example, the downward cameras 6-114, jaw cameras 6-116, and side cameras 6-118 described above and shown in FIG. II can be wide angle cameras operable in the visible and infrared spectrums. In at least one example, these cameras 6-114, 6-116, 6-118 can operate only in black and white light detection to simplify image processing and gain sensitivity.

[0107] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. II can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. 1 J -IL and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. 1 J - IL can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. II.

[0108] FIG. 1 J illustrates a lower perspective view of an example of an HMD 6-200 including a cover or shroud 6-204 secured to a frame 6-230. In at least one example, the sensors 6-203 of the sensor system 6-202 can be disposed around a perimeter of the HDM 6-344927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)200 such that the sensors 6-203 are outwardly disposed around a perimeter of a display region or area 6-232 so as not to obstruct a view of the displayed light. In at least one example, the sensors can be disposed behind the shroud 6-204 and aligned with transparent portions of the shroud allowing sensors and projectors to allow light back and forth through the shroud 6-204. In at least one example, opaque ink or other opaque material or films / layers can be disposed on the shroud 6-204 around the display area 6-232 to hide components of the HMD 6-200 outside the display area 6-232 other than the transparent portions defined by the opaque portions, through which the sensors and projectors send and receive light and electromagnetic signals during operation. In at least one example, the shroud 6-204 allows light to pass therethrough from the display (e.g., within the display region 6-232) but not radially outward from the display region around the perimeter of the display and shroud 6-204.

[0109] In some examples, the shroud 6-204 includes a transparent portion 6-205 and an opaque portion 6-207, as described above and elsewhere herein. In at least one example, the opaque portion 6-207 of the shroud 6-204 can define one or more transparent regions 6-209 through which the sensors 6-203 of the sensor system 6-202 can send and receive signals. In the illustrated example, the sensors 6-203 of the sensor system 6-202 sending and receiving signals through the shroud 6-204, or more specifically through the transparent regions 6-209 of the (or defined by) the opaque portion 6-207 of the shroud 6-204 can include the same or similar sensors as those shown in the example of FIG. II, for example depth sensors 6-108 and 6-110, depth projector 6-112, first and second scene cameras 6-106, first and second downward cameras 6-114, first and second side cameras 6-118, and first and second infrared illuminators 6-124. These sensors are also shown in the examples of FIGS. IK and IL. Other sensors, sensor types, number of sensors, and relative positions thereof can be included in one or more other examples of HMDs.

[0110] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. 1 J can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. II and IK - IL and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. II and IK - IL can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. 1 J.354927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0111] FIG. IK illustrates a front view of a portion of an example of an HMD device 6-300 including a display 6-334, brackets 6-336, 6-338, and frame or housing 6-330. The example shown in FIG. IK does not include a front cover or shroud in order to illustrate the brackets 6-336, 6-338. For example, the shroud 6-204 shown in FIG. 1J includes the opaque portion 6-207 that would visually cover / block a view of anything outside (e.g., radially / peripherally outside) the di splay / di splay region 6-334, including the sensors 6-303 and bracket 6-338.

[0112] In at least one example, the various sensors of the sensor system 6-302 are coupled to the brackets 6-336, 6-338. In at least one example, the scene cameras 6-306 include tight tolerances of angles relative to one another. For example, the tolerance of mounting angles between the two scene cameras 6-306 can be 0.5 degrees or less, for example 0.3 degrees or less. In order to achieve and maintain such a tight tolerance, in one example, the scene cameras 6-306 can be mounted to the bracket 6-338 and not the shroud. The bracket can include cantilevered arms on which the scene cameras 6-306 and other sensors of the sensor system 6-302 can be mounted to remain un-deformed in position and orientation in the case of a drop event by a user resulting in any deformation of the other bracket 6-226, housing 6-330, and / or shroud.

[0113] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IK can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. II -1 J and IL and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. II - 1 J and IL can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IK.

[0114] FIG. IL illustrates a bottom view of an example of an HMD 6-400 including a front display / cover assembly 6-404 and a sensor system 6-402. The sensor system 6-402 can be similar to other sensor systems described above and elsewhere herein, including in reference to FIGS. II - IK. In at least one example, the jaw cameras 6-416 can be facing downward to capture images of the user’s lower facial features. In one example, the jaw cameras 6-416 can be coupled directly to the frame or housing 6-430 or one or more internal brackets directly coupled to the frame or housing 6-430 shown. The frame or housing 6-430 can include one or more apertures / openings 6-415 through which the jaw cameras 6-416 can send and receive signals.364927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0115] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IL can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. II -IK and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. II - IK can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IL.

[0116] FIG. IM illustrates a rear perspective view of an inter-pupillary distance (IPD) adjustment system 11.1.1-102 including first and second optical modules 11.1. l-104a-b slidably engaging / coupled to respective guide-rods 11.1. l-108a-b and motors 11.1.1-1 lOa-b of left and right adjustment subsystems 11.1. l-106a-b. The IPD adjustment system 11.1.1-102 can be coupled to a bracket 11.1.1-112 and include a button 11.1.1-114 in electrical communication with the motors 11.1.1-1 lOa-b. In at least one example, the button 11.1.1-114 can electrically communicate with the first and second motors 11.1.1-1 lOa-b via a processor or other circuitry components to cause the first and second motors 11.1.1-1 lOa-b to activate and cause the first and second optical modules 1 l.l.l-104a-b, respectively, to change position relative to one another.

[0117] In at least one example, the first and second optical modules 11.1. l-104a-b can include respective display screens configured to project light toward the user’s eyes when donning the HMD 11.1.1-100. In at least one example, the user can manipulate (e.g., depress and / or rotate) the button 11.1.1-114 to activate a positional adjustment of the optical modules 11.1. l-104a-b to match the inter-pupillary distance of the user’s eyes. The optical modules 11.1. l-104a-b can also include one or more cameras or other sensors / sensor systems for imaging and measuring the IPD of the user such that the optical modules 11.1. l-104a-b can be adjusted to match the IPD.

[0118] In one example, the user can manipulate the button 11.1.1-114 to cause an automatic positional adjustment of the first and second optical modules 11.1. l-104a-b. In one example, the user can manipulate the button 11.1.1-114 to cause a manual adjustment such that the optical modules 11.1. l-104a-b move further or closer away, for example when the user rotates the button 11.1.1-114 one way or the other, until the user visually matches her / his own IPD. In one example, the manual adjustment is electronically communicated via one or more circuits and power for the movements of the optical modules 11.1. l-104a-b via the motors 11.1.1-1 lOa-b is provided by an electrical power source. In one example, the374927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)adjustment and movement of the optical modules 11.1. l-104a-b via a manipulation of the button 11.1.1-114 is mechanically actuated via the movement of the button 11.1.1-114.

[0119] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IM can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in any other figures shown and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to any other figure shown and described herein, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IM.

[0120] FIG. IN illustrates a front perspective view of a portion of an HMD 11.1.2-100, including an outer structural frame 11.1.2-102 and an inner or intermediate structural frame 11.1.2-104 defining first and second apertures 11.1.2- 106a, 11.1.2- 106b. The apertures 11.1.2-106a-b are shown in dotted lines in FIG. IN because a view of the apertures 11.1.2-106a-b can be blocked by one or more other components of the HMD 11.1.2-100 coupled to the inner frame 11.1.2-104 and / or the outer frame 11.1.2-102, as shown. In at least one example, the HMD 11.1.2-100 can include a first mounting bracket 11.1.2-108 coupled to the inner frame 11.1.2-104. In at least one example, the mounting bracket 11.1.2-108 is coupled to the inner frame 11.1.2-104 between the first and second apertures 11.1 ,2-106a-b.

[0121] The mounting bracket 11.1.2-108 can include a middle or central portion 11.1.2-109 coupled to the inner frame 11.1.2-104. In some examples, the middle or central portion 11.1.2-109 may not be the geometric middle or center of the bracket 11.1.2-108. Rather, the middle / central portion 11.1.2-109 can be disposed between first and second cantilevered extension arms extending away from the middle portion 11.1.2-109. In at least one example, the mounting bracket 108 includes a first cantilever arm 11.1.2-112 and a second cantilever arm 11.1.2-114 extending away from the middle portion 11.1.2-109 of the mount bracket 11.1.2-108 coupled to the inner frame 11.1.2-104.

[0122] As shown in FIG. IN, the outer frame 11.1.2-102 can define a curved geometry on a lower side thereof to accommodate a user’s nose when the user dons the HMD 11.1.2-100. The curved geometry can be referred to as a nose bridge 11.1.2-111 and be centrally located on a lower side of the HMD 11.1.2-100 as shown. In at least one example, the mounting bracket 11.1.2-108 can be connected to the inner frame 11.1.2-104 between the apertures 11.1 ,2-106a-b such that the cantilevered arms 11.1.2-112, 11.1.2-114 extend384927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)downward and laterally outward away from the middle portion 11.1.2-109 to compliment the nose bridge 11.1.2-111 geometry of the outer frame 11.1.2-102. In this way, the mounting bracket 11.1.2-108 is configured to accommodate the user’s nose as noted above. The nose bridge 11.1.2-111 geometry accommodates the nose in that the nose bridge 11.1.2-111 provides a curvature that curves with, above, over, and around the user’s nose for comfort and fit.

[0123] The first cantilever arm 11.1.2-112 can extend away from the middle portion 11.1.2-109 of the mounting bracket 11.1.2-108 in a first direction and the second cantilever arm 11.1.2-114 can extend away from the middle portion 11.1.2-109 of the mounting bracket 11.1.2-10 in a second direction opposite the first direction. The first and second cantilever arms 11.1.2-112, 11.1.2-114 are referred to as “cantilevered” or “cantilever” arms because each arm 11.1.2-112, 11.1.2-114, includes a distal free end 11.1.2-116, 11.1.2-118, respectively, which are free of affixation from the inner and outer frames 11.1.2-102, 11.1.2-104. In this way, the arms 11.1.2-112, 11.1.2-114 are cantilevered from the middle portion 11.1.2-109, which can be connected to the inner frame 11.1.2-104, with distal ends 11.1.2-102, 11.1.2-104 unattached.

[0124] In at least one example, the HMD 11.1.2-100 can include one or more components coupled to the mounting bracket 11.1.2-108. In one example, the components include a plurality of sensors 11.1.2-1 lOa-f. Each sensor of the plurality of sensors 11.1.2-1 lOa-f can include various types of sensors, including cameras, IR sensors, and so forth. In some examples, one or more of the sensors 11.1.2-1 lOa-f can be used for object recognition in three-dimensional space such that it is important to maintain a precise relative position of two or more of the plurality of sensors 11.1.2-1 lOa-f. The cantilevered nature of the mounting bracket 11.1.2-108 can protect the sensors 11.1.2-1 lOa-f from damage and altered positioning in the case of accidental drops by the user. Because the sensors 11.1.2-1 lOa-f are cantilevered on the arms 11.1.2-112, 11.1.2-114 of the mounting bracket 11.1.2-108, stresses and deformations of the inner and / or outer frames 11.1.2-104, 11.1.2-102 are not transferred to the cantilevered arms 11.1.2-112, 11.1.2-114 and thus do not affect the relative positioning of the sensors 11.1.2-1 lOa-f coupled / mounted to the mounting bracket 11.1.2-108.

[0125] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IN can be included, either alone or in any combination, in any of the other examples of devices, features, components, and described herein.Likewise, any of the features, components, and / or parts, including the arrangements and394927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)configurations thereof shown and described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IN.

[0126] FIG. 10 illustrates an example of an optical module 11.3.2-100 for use in an electronic device such as an HMD, including HDM devices described herein. As shown in one or more other examples described herein, the optical module 11.3.2-100 can be one of two optical modules within an HMD, with each optical module aligned to project light toward a user’s eye. In this way, a first optical module can project light via a display screen toward a user’s first eye and a second optical module of the same device can project light via another display screen toward the user’s second eye.

[0127] In at least one example, the optical module 11.3.2-100 can include an optical frame or housing 11.3.2-102, which can also be referred to as a barrel or optical module barrel. The optical module 11.3.2-100 can also include a display 11.3.2-104, including a display screen or multiple display screens, coupled to the housing 11.3.2-102. The display 11.3.2-104 can be coupled to the housing 11.3.2-102 such that the display 11.3.2-104 is configured to project light toward the eye of a user when the HMD of which the display module 11.3.2-100 is a part is donned during use. In at least one example, the housing 11.3.2-102 can surround the display 11.3.2-104 and provide connection features for coupling other components of optical modules described herein.

[0128] In one example, the optical module 11.3.2-100 can include one or more cameras 11.3.2-106 coupled to the housing 11.3.2-102. The camera 11.3.2-106 can be positioned relative to the display 11.3.2-104 and housing 11.3.2-102 such that the camera 11.3.2-106 is configured to capture one or more images of the user’s eye during use. In at least one example, the optical module 11.3.2-100 can also include a light strip 11.3.2-108 surrounding the display 11.3.2-104. In one example, the light strip 11.3.2-108 is disposed between the display 11.3.2-104 and the camera 11.3.2-106. The light strip 11.3.2-108 can include a plurality of lights 11.3.2- 110. The plurality of lights can include one or more light emitting diodes (LEDs) or other lights configured to project light toward the user’s eye when the HMD is donned. The individual lights 11.3.2-110 of the light strip 11.3.2-108 can be spaced about the strip 11.3.2-108 and thus spaced about the display 11.3.2-104 uniformly or non-uniformly at various locations on the strip 11.3.2-108 and around the display 11.3.2-104.404927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0129] In at least one example, the housing 11.3.2-102 defines a viewing opening 11.3.2-101 through which the user can view the display 11.3.2-104 when the HMD device is donned. In at least one example, the LEDs are configured and arranged to emit light through the viewing opening 11.3.2-101 and onto the user’s eye. In one example, the camera 11.3.2-106 is configured to capture one or more images of the user’s eye through the viewing opening 11.3.2-101.

[0130] As noted above, each of the components and features of the optical module 11.3.2-100 shown in FIG. 10 can be replicated in another (e.g., second) optical module disposed with the HMD to interact (e.g., project light and capture images) of another eye of the user.

[0131] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. 10 can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts shown in FIGS. IP or otherwise described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described with reference to FIGS. IP or otherwise described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. 10.

[0132] FIG. IP illustrates a cross-sectional view of an example of an optical module 11.3.2-200 including a housing 11.3.2-202, display assembly 11.3.2-204 coupled to the housing 11.3.2-202, and a lens 11.3.2-216 coupled to the housing 11.3.2-202. In at least one example, the housing 11.3.2-202 defines a first aperture or channel 11.3.2-212 and a second aperture or channel 11.3.2-214. The channels 11.3.2-212, 11.3.2-214 can be configured to slidably engage respective rails or guide rods of an HMD device to allow the optical module 11.3.2-200 to adjust in position relative to the user’s eyes for match the user’s interpapillary distance (IPD). The housing 11.3.2-202 can slidably engage the guide rods to secure the optical module 11.3.2-200 in place within the HMD.

[0133] In at least one example, the optical module 11.3.2-200 can also include a lens 11.3.2-216 coupled to the housing 11.3.2-202 and disposed between the display assembly 11.3.2-204 and the user’s eyes when the HMD is donned. The lens 11.3.2-216 can be configured to direct light from the display assembly 11.3.2-204 to the user’s eye. In at least one example, the lens 11.3.2-216 can be a part of a lens assembly including a corrective lens removably attached to the optical module 11.3.2-200. In at least one example, the lens 11.3.2-414927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)216 is disposed over the light strip 11.3.2-208 and the one or more eye-tracking cameras 11.3.2-206 such that the camera 11.3.2-206 is configured to capture images of the user’s eye through the lens 11.3.2-216 and the light strip 11.3.2-208 includes lights configured to project light through the lens 11.3.2-216 to the users’ eye during use.

[0134] Any of the features, components, and / or parts, including the arrangements and configurations thereof shown in FIG. IP can be included, either alone or in any combination, in any of the other examples of devices, features, components, and parts and described herein. Likewise, any of the features, components, and / or parts, including the arrangements and configurations thereof shown and described herein can be included, either alone or in any combination, in the example of the devices, features, components, and parts shown in FIG. IP.

[0135] Figure 2 is a block diagram of an example of the controller 110 in accordance with some embodiments. While certain specific features are illustrated, those skilled in the art will appreciate from the present disclosure that various other features have not been illustrated for the sake of brevity, and so as not to obscure more pertinent aspects of the embodiments disclosed herein. To that end, as a non-limiting example, in some embodiments, the controller 110 includes one or more processing units 202 (e.g., microprocessors, application-specific integrated-circuits (ASICs), field-programmable gate arrays (FPGAs), graphics processing units (GPUs), central processing units (CPUs), processing cores, and / or the like), one or more input / output (I / O) devices 206, one or more communication interfaces 208 (e.g., universal serial bus (USB), FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.1 lx, IEEE 802.16x, global system for mobile communications (GSM), code division multiple access (CDMA), time division multiple access (TDMA), global positioning system (GPS), infrared (IR), BLUETOOTH, ZIGBEE, and / or the like type interface), one or more programming (e.g., I / O) interfaces 210, a memory 220, and one or more communication buses 204 for interconnecting these and various other components.

[0136] In some embodiments, the one or more communication buses 204 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I / O devices 206 include at least one of a keyboard, a mouse, a touchpad, a joystick, one or more microphones, one or more speakers, one or more image sensors, one or more displays, and / or the like.4927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0137] The memory 220 includes high-speed random-access memory, such as dynamic random-access memory (DRAM), static random-access memory (SRAM), double-data-rate random-access memory (DDR RAM), or other random-access solid-state memory devices. In some embodiments, the memory 220 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 220 optionally includes one or more storage devices remotely located from the one or more processing units 202. The memory 220 comprises a non-transitory computer readable storage medium. In some embodiments, the memory 220 or the non-transitory computer readable storage medium of the memory 220 stores the following programs, modules and data structures, or a subset thereof including an optional operating system 230 and a XR experience module 240.

[0138] The operating system 230 includes instructions for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the XR experience module 240 is configured to manage and coordinate one or more XR experiences for one or more users (e.g., a single XR experience for one or more users, or multiple XR experiences for respective groups of one or more users). To that end, in various embodiments, the XR experience module 240 includes a data obtaining unit 241, a tracking unit 242, a coordination unit 246, and a data transmitting unit 248.

[0139] In some embodiments, the data obtaining unit 241 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the display generation component 120 of Figure 1 A, and optionally one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the data obtaining unit 241 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0140] In some embodiments, the tracking unit 242 is configured to map the scene 105 and to track the position / location of at least the display generation component 120 with respect to the scene 105 of Figure 1 A, and optionally, to one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the tracking unit 242 includes instructions and / or logic therefor, and heuristics and metadata therefor. In some embodiments, the tracking unit 242 includes hand tracking unit 244 and / or eye tracking unit 243. In some embodiments, the hand tracking unit 244 is configured to track the position / location of one or more portions of the user’s hands, and / or motions of one or more portions of the user’s hands with respect to the scene 105 of Figure434927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)1 A, relative to the display generation component 120, and / or relative to a coordinate system defined relative to the user’s hand. The hand tracking unit 244 is described in greater detail below with respect to Figure 4. In some embodiments, the eye tracking unit 243 is configured to track the position and movement of the user’s gaze (or more broadly, the user’s eyes, face, or head) with respect to the scene 105 (e.g., with respect to the physical environment and / or to the user (e.g., the user’s hand)) or with respect to the XR content displayed via the display generation component 120. The eye tracking unit 243 is described in greater detail below with respect to Figure 5.

[0141] In some embodiments, the coordination unit 246 is configured to manage and coordinate the XR experience presented to the user by the display generation component 120, and optionally, by one or more of the output devices 155 and / or peripheral devices 195. To that end, in various embodiments, the coordination unit 246 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0142] In some embodiments, the data transmitting unit 248 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the display generation component 120, and optionally, to one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the data transmitting unit 248 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0143] Although the data obtaining unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data transmitting unit 248 are shown as residing on a single device (e.g., the controller 110), it should be understood that in other embodiments, any combination of the data obtaining unit 241, the tracking unit 242 (e.g., including the eye tracking unit 243 and the hand tracking unit 244), the coordination unit 246, and the data transmitting unit 248 may be located in separate computing devices.

[0144] Moreover, Figure 2 is intended more as functional description of the various features that may be present in a particular implementation as opposed to a structural schematic of the embodiments described herein. As recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. For example, some functional modules shown separately in Figure 2 could be implemented in a single module and the various functions of single functional blocks could be implemented by one or more functional blocks in various embodiments. The actual number of modules and444927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the division of particular functions and how features are allocated among them will vary from one implementation to another and, in some embodiments, depends in part on the particular combination of hardware, software, and / or firmware chosen for a particular implementation.

[0145] Figure 3 A is a block diagram of an example of the display generation component 120 in accordance with some embodiments. While certain specific features are illustrated, those skilled in the art will appreciate from the present disclosure that various other features have not been illustrated for the sake of brevity, and so as not to obscure more pertinent aspects of the embodiments disclosed herein. To that end, as a non-limiting example, in some embodiments the display generation component 120 (e.g., HMD) includes one or more processing units 302 (e.g., microprocessors, ASICs, FPGAs, GPUs, CPUs, processing cores, and / or the like), one or more input / output (I / O) devices and sensors 306, one or more communication interfaces 308 (e g., USB, FIREWIRE, THUNDERBOLT, IEEE 802.3x, IEEE 802.1 lx, IEEE 802.16x, GSM, CDMA, TDMA, GPS, IR, BLUETOOTH, ZIGBEE, and / or the like type interface), one or more programming (e.g., I / O) interfaces 310, one or more XR displays 312, one or more optional interior- and / or exterior-facing image sensors 314, a memory 320, and one or more communication buses 304 for interconnecting these and various other components.

[0146] In some embodiments, the one or more communication buses 304 include circuitry that interconnects and controls communications between system components. In some embodiments, the one or more I / O devices and sensors 306 include at least one of an inertial measurement unit (IMU), an accelerometer, a gyroscope, a thermometer, one or more physiological sensors (e.g., blood pressure monitor, heart rate monitor, blood oxygen sensor, blood glucose sensor, etc.), one or more microphones, one or more speakers, a haptics engine, one or more depth sensors (e.g., a structured light, a time-of-flight, or the like), and / or the like.

[0147] In some embodiments, the one or more XR displays 312 are configured to provide the XR experience to the user. In some embodiments, the one or more XR displays 312 correspond to holographic, digital light processing (DLP), liquid-crystal display (LCD), liquid-crystal on silicon (LCoS), organic light-emitting field-effect transitory (OLET), organic light-emitting diode (OLED), surface-conduction electron-emitter display (SED), field-emission display (FED), quantum-dot light-emitting diode (QD-LED), micro-electro-mechanical system (MEMS), and / or the like display types. In some embodiments, the one or more XR displays 312 correspond to diffractive, reflective, polarized, holographic, etc.454927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)waveguide displays. For example, the display generation component 120 (e.g., HMD) includes a single XR display. In another example, the display generation component 120 includes a XR display for each eye of the user. In some embodiments, the one or more XR displays 312 are capable of presenting MR and VR content. In some embodiments, the one or more XR displays 312 are capable of presenting MR or VR content.

[0148] In some embodiments, the one or more image sensors 314 are configured to obtain image data that corresponds to at least a portion of the face of the user that includes the eyes of the user (and may be referred to as an eye-tracking camera). In some embodiments, the one or more image sensors 314 are configured to obtain image data that corresponds to at least a portion of the user’s hand(s) and optionally arm(s) of the user (and may be referred to as a hand-tracking camera). In some embodiments, the one or more image sensors 314 are configured to be forward-facing so as to obtain image data that corresponds to the scene as would be viewed by the user if the display generation component 120 (e.g., HMD) was not present (and may be referred to as a scene camera). The one or more optional image sensors 314 can include one or more RGB cameras (e.g., with a complimentary metal-oxide-semiconductor (CMOS) image sensor or a charge-coupled device (CCD) image sensor), one or more infrared (IR) cameras, one or more event-based cameras, and / or the like.

[0149] The memory 320 includes high-speed random-access memory, such as DRAM, SRAM, DDR RAM, or other random-access solid-state memory devices. In some embodiments, the memory 320 includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 320 optionally includes one or more storage devices remotely located from the one or more processing units 302. The memory 320 comprises a non-transitory computer readable storage medium. In some embodiments, the memory 320 or the non-transitory computer readable storage medium of the memory 320 stores the following programs, modules and data structures, or a subset thereof including an optional operating system 330 and a XR presentation module 340.

[0150] The operating system 330 includes instructions for handling various basic system services and for performing hardware dependent tasks. In some embodiments, the XR presentation module 340 is configured to present XR content to the user via the one or more XR displays 312. To that end, in various embodiments, the XR presentation module 340 includes a data obtaining unit 342, a XR presenting unit 344, a XR map generating unit 346, and a data transmitting unit 348.464927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0151] In some embodiments, the data obtaining unit 342 is configured to obtain data (e.g., presentation data, interaction data, sensor data, location data, etc.) from at least the controller 110 of Figure 1 A. To that end, in various embodiments, the data obtaining unit 342 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0152] In some embodiments, the XR presenting unit 344 is configured to present XR content via the one or more XR displays 312. To that end, in various embodiments, the XR presenting unit 344 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0153] In some embodiments, the XR map generating unit 346 is configured to generate a XR map (e.g., a 3D map of the mixed reality scene or a map of the physical environment into which computer-generated objects can be placed to generate the extended reality) based on media content data. To that end, in various embodiments, the XR map generating unit 346 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0154] In some embodiments, the data transmitting unit 348 is configured to transmit data (e.g., presentation data, location data, etc.) to at least the controller 110, and optionally one or more of the input devices 125, output devices 155, sensors 190, and / or peripheral devices 195. To that end, in various embodiments, the data transmitting unit 348 includes instructions and / or logic therefor, and heuristics and metadata therefor.

[0155] Although the data obtaining unit 342, the XR presenting unit 344, the XR map generating unit 346, and the data transmitting unit 348 are shown as residing on a single device (e.g., the display generation component 120 of Figure 1 A), it should be understood that in other embodiments, any combination of the data obtaining unit 342, the XR presenting unit 344, the XR map generating unit 346, and the data transmitting unit 348 may be located in separate computing devices.

[0156] Moreover, Figure 3 A is intended more as a functional description of the various features that could be present in a particular implementation as opposed to a structural schematic of the embodiments described herein. As recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. For example, some functional modules shown separately in Figure 3A could be implemented in a single module and the various functions of single functional blocks could be implemented by one or more functional blocks in various embodiments. The actual474927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)number of modules and the division of particular functions and how features are allocated among them will vary from one implementation to another and, in some embodiments, depends in part on the particular combination of hardware, software, and / or firmware chosen for a particular implementation.

[0157] Implementations within the scope of the present disclosure can be partially or entirely realized using a tangible computer-readable storage medium (or multiple tangible computer-readable storage media of one or more types) encoding one or more computer-readable instructions. It should be recognized that computer-readable instructions can be organized in any format, including applications, widgets, processes, software, and / or components.

[0158] Implementations within the scope of the present disclosure include a computer-readable storage medium that encodes instructions organized as an application (e.g., application 3160) that, when executed by one or more processing units, control an electronic device (e.g., device 3150) to perform the method of FIG. 3B, the method of FIG.3C, and / or one or more other processes and / or methods described herein.

[0159] It should be recognized that application 3160 (shown in FIG. 3D) can be any suitable type of application, including, for example, one or more of: a browser application, an application that functions as an execution environment for plug-ins, widgets or other applications, a fitness application, a health application, a digital payments application, a media application, a social network application, a messaging application, and / or a maps application. In some embodiments, application 3160 is an application that is pre-installed on device 3150 at purchase (e.g., a first-party application). In some embodiments, application 3160 is an application that is provided to device 3150 via an operating system update file (e.g., a first-party application or a second-party application). In some embodiments, application 3160 is an application that is provided via an application store. In some embodiments, the application store can be an application store that is pre-installed on device 3150 at purchase (e.g., a first-party application store). In some embodiments, the application store is a third-party application store (e.g., an application store that is provided by another application store, downloaded via a network, and / or read from a storage device).

[0160] Referring to FIG. 3B and FIG. 3F, application 3160 obtains information (e.g., 3010). In some embodiments, at 3010, information is obtained from at least one hardware component of device 3150. In some embodiments, at 3010, information is obtained from at484927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)least one software module of device 3150. In some embodiments, at 3010, information is obtained from at least one hardware component external to device 3150 (e.g., a peripheral device, an accessory device, and / or a server). In some embodiments, the information obtained at 3010 includes positional information, time information, notification information, user information, environment information, electronic device state information, weather information, media information, historical information, event information, hardware information, and / or motion information. In some embodiments, in response to and / or after obtaining the information at 3010, application 3160 provides the information to a system (e.g., 3020).

[0161] In some embodiments, the system (e.g., 3110 shown in FIG. 3E) is an operating system hosted on device 3150. In some embodiments, the system (e.g., 3110 shown in FIG. 3E) is an external device (e.g., a server, a peripheral device, an accessory, and / or a personal computing device) that includes an operating system.

[0162] Referring to FIG. 3C and FIG. 3G, application 3160 obtains information (e.g., 3030). In some embodiments, the information obtained at 3030 includes positional information, time information, notification information, user information, environment information electronic device state information, weather information, media information, historical information, event information, hardware information, and / or motion information. In response to and / or after obtaining the information at 3030, application 3160 performs an operation with the information (e.g., 3040). In some embodiments, the operation performed at 3040 includes: providing a notification based on the information, sending a message based on the information, displaying the information, controlling a user interface of a fitness application based on the information, controlling a user interface of a health application based on the information, controlling a focus mode based on the information, setting a reminder based on the information, adding a calendar entry based on the information, and / or calling an API of system 3110 based on the information.

[0163] In some embodiments, one or more steps of the method of FIG. 3B and / or the method of FIG. 3C is performed in response to a trigger. In some embodiments, the trigger includes detection of an event, a notification received from system 3110, a user input, and / or a response to a call to an API provided by system 3110.

[0164] In some embodiments, the instructions of application 3160, when executed, control device 3150 to perform the method of FIG. 3B and / or the method of FIG. 3C by494927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)calling an application programming interface (API) (e.g., API 3190) provided by system 3110. In some embodiments, application 3160 performs at least a portion of the method of FIG. 3B and / or the method of FIG. 3C without calling API 3190.

[0165] In some embodiments, one or more steps of the method of FIG. 3B and / or the method of FIG. 3C includes calling an API (e.g., API 3190) using one or more parameters defined by the API. In some embodiments, the one or more parameters include a constant, a key, a data structure, an object, an object class, a variable, a data type, a pointer, an array, a list or a pointer to a function or method, and / or another way to reference a data or other item to be passed via the API.

[0166] Referring to FIG. 3D, device 3150 is illustrated. In some embodiments, device 3150 is a personal computing device, a smart phone, a smart watch, a fitness tracker, a head mounted display (HMD) device, a media device, a communal device, a speaker, a television, and / or a tablet. As illustrated in FIG. 3D, device 3150 includes application 3160 and an operating system (e.g., system 3110 shown in FIG. 3E). Application 3160 includes application implementation module 3170 and API-calling module 3180. System 3110 includes API 3190 and implementation module 3100. It should be recognized that device 3150, application 3160, and / or system 3110 can include more, fewer, and / or different components than illustrated in FIGS. 3D and 3E.

[0167] In some embodiments, application implementation module 3170 includes a set of one or more instructions corresponding to one or more operations performed by application 3160. For example, when application 3160 is a messaging application, application implementation module 3170 can include operations to receive and send messages. In some embodiments, application implementation module 3170 communicates with API-calling module 3180 to communicate with system 3110 via API 3190 (shown in FIG. 3E).

[0168] In some embodiments, API 3190 is a software module (e.g., a collection of computer-readable instructions) that provides an interface that allows a different module (e.g., API-calling module 3180) to access and / or use one or more functions, methods, procedures, data structures, classes, and / or other services provided by implementation module 3100 of system 3110. For example, API-calling module 3180 can access a feature of implementation module 3100 through one or more API calls or invocations (e.g., embodied by a function or a method call) exposed by API 3190 (e.g., a software and / or hardware504927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)module that can receive API calls, respond to API calls, and / or send API calls) and can pass data and / or control information using one or more parameters via the API calls or invocations. In some embodiments, API 3190 allows application 3160 to use a service provided by a Software Development Kit (SDK) library. In some embodiments, application 3160 incorporates a call to a function or method provided by the SDK library and provided by API 3190 or uses data types or objects defined in the SDK library and provided by API 3190. In some embodiments, API-calling module 3180 makes an API call via API 3190 to access and use a feature of implementation module 3100 that is specified by API 3190. In such embodiments, implementation module 3100 can return a value via API 3190 to API-calling module 3180 in response to the API call. The value can report to application 3160 the capabilities or state of a hardware component of device 3150, including those related to aspects such as input capabilities and state, output capabilities and state, processing capability, power state, storage capacity and state, and / or communications capability. In some embodiments, API 3190 is implemented in part by firmware, microcode, or other low level logic that executes in part on the hardware component.

[0169] In some embodiments, API 3190 allows a developer of API-calling module 3180 (which can be a third-party developer) to leverage a feature provided by implementation module 3100. In such embodiments, there can be one or more API-calling modules (e.g., including API-calling module 3180) that communicate with implementation module 3100. In some embodiments, API 3190 allows multiple API-calling modules written in different programming languages to communicate with implementation module 3100 (e.g., API 3190 can include features for translating calls and returns between implementation module 3100 and API-calling module 3180) while API 3190 is implemented in terms of a specific programming language. In some embodiments, API-calling module 3180 calls APIs from different providers such as a set of APIs from an OS provider, another set of APIs from a plug-in provider, and / or another set of APIs from another provider (e.g., the provider of a software library) or creator of the another set of APIs.

[0170] Examples of API 3190 can include one or more of: a pairing API (e.g., for establishing secure connection, e.g., with an accessory), a device detection API (e.g., for locating nearby devices, e.g., media devices and / or smartphone), a payment API, a UIKit API (e.g., for generating user interfaces), a location detection API, a locator API, a maps API, a health sensor API, a sensor API, a messaging API, a push notification API, a streaming API, a collaboration API, a video conferencing API, an application store API, an advertising514927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)services API, a web browser API (e.g., WebKit API), a vehicle API, a networking API, a WiFi API, a Bluetooth API, an NFC API, a UWB API, a fitness API, a smart home API, contact transfer API, photos API, camera API, and / or image processing API. In some embodiments, the sensor API is an API for accessing data associated with a sensor of device 3150. For example, the sensor API can provide access to raw sensor data. For another example, the sensor API can provide data derived (and / or generated) from the raw sensor data. In some embodiments, the sensor data includes temperature data, image data, video data, audio data, heart rate data, IMU (inertial measurement unit) data, lidar data, location data, GPS data, and / or camera data. In some embodiments, the sensor includes one or more of an accelerometer, temperature sensor, infrared sensor, optical sensor, heartrate sensor, barometer, gyroscope, proximity sensor, temperature sensor, and / or biometric sensor.

[0171] In some embodiments, implementation module 3100 is a system (e.g., operating system and / or server system) software module (e.g., a collection of computer-readable instructions) that is constructed to perform an operation in response to receiving an API call via API 3190. In some embodiments, implementation module 3100 is constructed to provide an API response (via API 3190) as a result of processing an API call. By way of example, implementation module 3100 and API-calling module 3180 can each be any one of an operating system, a library, a device driver, an API, an application program, or other module. It should be understood that implementation module 3100 and API-calling module 3180 can be the same or different type of module from each other. In some embodiments, implementation module 3100 is embodied at least in part in firmware, microcode, or hardware logic.

[0172] In some embodiments, implementation module 3100 returns a value through API 3190 in response to an API call from API-calling module 3180. While API 3190 defines the syntax and result of an API call (e.g., how to invoke the API call and what the API call does), API 3190 might not reveal how implementation module 3100 accomplishes the function specified by the API call. Various API calls are transferred via the one or more application programming interfaces between API-calling module 3180 and implementation module 3100. Transferring the API calls can include issuing, initiating, invoking, calling, receiving, returning, and / or responding to the function calls or messages. In other words, transferring can describe actions by either of API-calling module 3180 or implementation module 3100. In some embodiments, a function call or other invocation of API 3190 sends and / or receives one or more parameters through a parameter list or other structure.524927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0173] In some embodiments, implementation module 3100 provides more than one API, each providing a different view of or with different aspects of functionality implemented by implementation module 3100. For example, one API of implementation module 3100 can provide a first set of functions and can be exposed to third-party developers, and another API of implementation module 3100 can be hidden (e.g., not exposed) and provide a subset of the first set of functions and also provide another set of functions, such as testing or debugging functions which are not in the first set of functions. In some embodiments, implementation module 3100 calls one or more other components via an underlying API and thus is both an API-calling module and an implementation module. It should be recognized that implementation module 3100 can include additional functions, methods, classes, data structures, and / or other features that are not specified through API 3190 and are not available to API-calling module 3180. It should also be recognized that API-calling module 3180 can be on the same system as implementation module 3100 or can be located remotely and access implementation module 3100 using API 3190 over a network. In some embodiments, implementation module 3100, API 3190, and / or API-calling module 3180 is stored in a machine-readable medium, which includes any mechanism for storing information in a form readable by a machine (e.g., a computer or other data processing system). For example, a machine-readable medium can include magnetic disks, optical disks, random access memory; read only memory, and / or flash memory devices.

[0174] An application programming interface (API) is an interface between a first software process and a second software process that specifies a format for communication between the first software process and the second software process. Limited APIs (e.g., private APIs or partner APIs) are APIs that are accessible to a limited set of software processes (e.g., only software processes within an operating system or only software processes that are approved to access the limited APIs). Public APIs that are accessible to a wider set of software processes. Some APIs enable software processes to communicate about or set a state of one or more input devices (e.g., one or more touch sensors, proximity sensors, visual sensors, motion / orientation sensors, pressure sensors, intensity sensors, sound sensors, wireless proximity sensors, biometric sensors, buttons, switches, rotatable elements, and / or external controllers). Some APIs enable software processes to communicate about and / or set a state of one or more output generation components (e.g., one or more audio output generation components, one or more display generation components, and / or one or more tactile output generation components). Some APIs enable particular capabilities (e.g.,534927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)scrolling, handwriting, text entry, image editing, and / or image creation) to be accessed, performed, and / or used by a software process (e.g., generating outputs for use by a software process based on input from the software process). Some APIs enable content from a software process to be inserted into a template and displayed in a user interface that has a layout and / or behaviors that are specified by the template.

[0175] Many software platforms include a set of frameworks that provides the core objects and core behaviors that a software developer needs to build software applications that can be used on the software platform. Software developers use these objects to display content onscreen, to interact with that content, and to manage interactions with the software platform. Software applications rely on the set of frameworks for their basic behavior, and the set of frameworks provides many ways for the software developer to customize the behavior of the application to match the specific needs of the software application. Many of these core objects and core behaviors are accessed via an API. An API will typically specify a format for communication between software processes, including specifying and grouping available variables, functions, and protocols. An API call (sometimes referred to as an API request) will typically be sent from a sending software process to a receiving software process as a way to accomplish one or more of the following: the sending software process requesting information from the receiving software process (e.g., for the sending software process to take action on), the sending software process providing information to the receiving software process (e.g., for the receiving software process to take action on), the sending software process requesting action by the receiving software process, or the sending software process providing information to the receiving software process about action taken by the sending software process. Interaction with a device (e.g., using a user interface) will in some circumstances include the transfer and / or receipt of one or more API calls (e.g., multiple API calls) between multiple different software processes (e.g., different portions of an operating system, an application and an operating system, or different applications) via one or more APIs (e.g., via multiple different APIs). For example, when an input is detected the direct sensor data is frequently processed into one or more input events that are provided (e.g., via an API) to a receiving software process that makes some determination based on the input events, and then sends (e.g., via an API) information to a software process to perform an operation (e.g., change a device state and / or user interface) based on the determination. While a determination and an operation performed in response could be made by the same software process, alternatively the determination could be made in a first software process544927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)and relayed (e.g., via an API) to a second software process, that is different from the first software process, that causes the operation to be performed by the second software process. Alternatively, the second software process could relay instructions (e.g., via an API) to a third software process that is different from the first software process and / or the second software process to perform the operation. It should be understood that some or all user interactions with a computer system could involve one or more API calls within a step of interacting with the computer system (e.g., between different software components of the computer system or between a software component of the computer system and a software component of one or more remote computer systems). It should be understood that some or all user interactions with a computer system could involve one or more API calls between steps of interacting with the computer system (e.g., between different software components of the computer system or between a software component of the computer system and a software component of one or more remote computer systems).

[0176] In some embodiments, the application can be any suitable type of application, including, for example, one or more of: a browser application, an application that functions as an execution environment for plug-ins, widgets or other applications, a fitness application, a health application, a digital payments application, a media application, a social network application, a messaging application, and / or a maps application.

[0177] In some embodiments, the application is an application that is pre-installed on the first computer system at purchase (e.g., a first-party application). In some embodiments, the application is an application that is provided to the first computer system via an operating system update file (e.g., a first-party application). In some embodiments, the application is an application that is provided via an application store. In some embodiments, the application store is pre-installed on the first computer system at purchase (e.g., a first-party application store) and allows download of one or more applications. In some embodiments, the application store is a third-party application store (e.g., an application store that is provided by another device, downloaded via a network, and / or read from a storage device). In some embodiments, the application is a third-party application (e.g., an app that is provided by an application store, downloaded via a network, and / or read from a storage device). In some embodiments, the application controls the first computer system to perform method 800 (FIG. 8), method 1000 (FIG. 10), method 1200 (FIG. 12), method 1400 (FIG. 14), method 1600 (FIG. 16), method 1800 (FIG. 18), method 2000 (FIG. 20), method 2200 (FIG. 22), method 2400 (FIG. 24), method 2600 (FIG. 26), and / or method 2800 (FIG. 28) by554927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)calling an application programming interface (API) provided by the system process using one or more parameters.

[0178] In some embodiments, exemplary APIs provided by the system process include one or more of: a pairing API (e.g., for establishing secure connection, e.g., with an accessory), a device detection API (e.g., for locating nearby devices, e.g., media devices and / or smartphone), a payment API, a UIKit API (e.g., for generating user interfaces), a location detection API, a locator API, a maps API, a health sensor API, a sensor API, a messaging API, a push notification API, a streaming API, a collaboration API, a video conferencing API, an application store API, an advertising services API, a web browser API (e.g., WebKit API), a vehicle API, a networking API, a WiFi API, a Bluetooth API, an NFC API, a UWB API, a fitness API, a smart home API, contact transfer API, a photos API, a camera API, and / or an image processing API.

[0179] In some embodiments, at least one API is a software module (e.g., a collection of computer-readable instructions) that provides an interface that allows a different module (e.g., API-calling module) to access and use one or more functions, methods, procedures, data structures, classes, and / or other services provided by an implementation module of the system process. The API can define one or more parameters that are passed between the API-calling module and the implementation module. In some embodiments, API 3190 defines a first API call that can be provided by API-calling module 3180. The implementation module is a system software module (e.g., a collection of computer-readable instructions) that is constructed to perform an operation in response to receiving an API call via the API. In some embodiments, the implementation module is constructed to provide an API response (via the API) as a result of processing an API call. In some embodiments, the implementation module is included in the device (e.g., 3150) that runs the application. In some embodiments, the implementation module is included in an electronic device that is separate from the device that runs the application. Figure 4 is a schematic, pictorial illustration of an example embodiment of the hand tracking device 140. In some embodiments, hand tracking device 140 (Figure 1 A) is controlled by hand tracking unit 244 (Figure 2) to track the position / location of one or more portions of the user’s hands, and / or motions of one or more portions of the user’s hands with respect to the scene 105 of Figure 1 A (e.g., with respect to a portion of the physical environment surrounding the user, with respect to the display generation component 120, or with respect to a portion of the user (e.g., the user’s face, eyes, or head), and / or relative to a coordinate system defined relative to the564927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)user’s hand. In some embodiments, the hand tracking device 140 is part of the display generation component 120 (e.g., embedded in or attached to a head-mounted device). In some embodiments, the hand tracking device 140 is separate from the display generation component 120 (e.g., located in separate housings or attached to separate physical support structures).

[0180] In some embodiments, the hand tracking device 140 includes image sensors 404 (e.g., one or more IR cameras, 3D cameras, depth cameras, and / or color cameras, etc.) that capture three-dimensional scene information that includes at least a hand 406 of a human user. The image sensors 404 capture the hand images with sufficient resolution to enable the fingers and their respective positions to be distinguished. The image sensors 404 typically capture images of other parts of the user’s body, as well, or possibly all of the body, and may have either zoom capabilities or a dedicated sensor with enhanced magnification to capture images of the hand with the desired resolution. In some embodiments, the image sensors 404 also capture 2D color video images of the hand 406 and other elements of the scene. In some embodiments, the image sensors 404 are used in conjunction with other image sensors to capture the physical environment of the scene 105, or serve as the image sensors that capture the physical environments of the scene 105. In some embodiments, the image sensors 404 are positioned relative to the user or the user’s environment in a way that a field of view of the image sensors or a portion thereof is used to define an interaction space in which hand movement captured by the image sensors are treated as inputs to the controller 110.

[0181] In some embodiments, the image sensors 404 output a sequence of frames containing 3D map data (and possibly color image data, as well) to the controller 110, which extracts high-level information from the map data. This high-level information is typically provided via an Application Program Interface (API) to an application running on the controller, which drives the display generation component 120 accordingly. For example, the user may interact with software running on the controller 110 by moving his hand 406 and changing his hand posture.

[0182] In some embodiments, the image sensors 404 project a pattern of spots onto a scene containing the hand 406 and capture an image of the projected pattern. In some embodiments, the controller 110 computes the 3D coordinates of points in the scene (including points on the surface of the user’s hand) by triangulation, based on transverse shifts of the spots in the pattern. This approach is advantageous in that it does not require the user to hold or wear any sort of beacon, sensor, or other marker. It gives the depth574927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)coordinates of points in the scene relative to a predetermined reference plane, at a certain distance from the image sensors 404. In the present disclosure, the image sensors 404 are assumed to define an orthogonal set of x, y, z axes, so that depth coordinates of points in the scene correspond to z components measured by the image sensors. Alternatively, the image sensors 404 (e.g., a hand tracking device) may use other methods of 3D mapping, such as stereoscopic imaging or time-of-flight measurements, based on single or multiple cameras or other types of sensors.

[0183] In some embodiments, the hand tracking device 140 captures and processes a temporal sequence of depth maps containing the user’s hand, while the user moves his hand (e.g., whole hand or one or more fingers). Software running on a processor in the image sensors 404 and / or the controller 110 processes the 3D map data to extract patch descriptors of the hand in these depth maps. The software matches these descriptors to patch descriptors stored in a database 408, based on a prior learning process, in order to estimate the pose of the hand in each frame. The pose typically includes 3D locations of the user’s hand joints and finger tips.

[0184] The software may also analyze the trajectory of the hands and / or fingers over multiple frames in the sequence in order to identify gestures. The pose estimation functions described herein may be interleaved with motion tracking functions, so that patch-based pose estimation is performed only once in every two (or more) frames, while tracking is used to find changes in the pose that occur over the remaining frames. The pose, motion, and gesture information are provided via the above-mentioned API to an application program running on the controller 110. This program may, for example, move and modify images presented on the display generation component 120, or perform other functions, in response to the pose and / or gesture information.

[0185] In some embodiments, a gesture includes an air gesture. An air gesture is a gesture that is detected without the user touching (or independently of) an input element that is part of a device (e.g., computer system 101, one or more input device 125, and / or hand tracking device 140) and is based on detected motion of a portion (e.g., the head, one or more arms, one or more hands, one or more fingers, and / or one or more legs) of the user’s body through the air including motion of the user’s body relative to an absolute reference (e.g., an angle of the user’s arm relative to the ground or a distance of the user’s hand relative to the ground), relative to another portion of the user’s body (e.g., movement of a hand of the user relative to a shoulder of the user, movement of one hand of the user relative to another hand584927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)of the user, and / or movement of a finger of the user relative to another finger or portion of a hand of the user), and / or absolute motion of a portion of the user’s body (e.g., a tap gesture that includes movement of a hand in a predetermined pose by a predetermined amount and / or speed, or a shake gesture that includes a predetermined speed or amount of rotation of a portion of the user’s body).

[0186] In some embodiments, input gestures used in the various examples and embodiments described herein include air gestures performed by movement of the user’s finger(s) relative to other finger(s) or part(s) of the user’s hand) for interacting with an XR environment (e.g., a virtual or mixed-reality environment), in accordance with some embodiments. In some embodiments, an air gesture is a gesture that is detected without the user touching an input element that is part of the device (or independently of an input element that is a part of the device) and is based on detected motion of a portion of the user’s body through the air including motion of the user’s body relative to an absolute reference (e.g., an angle of the user’s arm relative to the ground or a distance of the user’s hand relative to the ground), relative to another portion of the user’s body (e.g., movement of a hand of the user relative to a shoulder of the user, movement of one hand of the user relative to another hand of the user, and / or movement of a finger of the user relative to another finger or portion of a hand of the user), and / or absolute motion of a portion of the user’s body (e.g., a tap gesture that includes movement of a hand in a predetermined pose by a predetermined amount and / or speed, or a shake gesture that includes a predetermined speed or amount of rotation of a portion of the user’s body).

[0187] In some embodiments in which the input gesture is an air gesture (e.g., in the absence of physical contact with an input device that provides the computer system with information about which user interface element is the target of the user input, such as contact with a user interface element displayed on a touchscreen, or contact with a mouse or trackpad to move a cursor to the user interface element), the gesture takes into account the user's attention (e.g., gaze) to determine the target of the user input (e.g., for direct inputs, as described below). Thus, in implementations involving air gestures, the input gesture is, for example, detected attention (e.g., gaze) toward the user interface element in combination (e.g., concurrent) with movement of a user's finger(s) and / or hands to perform a pinch and / or tap input, as described in more detail below.

[0188] In some embodiments, input gestures that are directed to a user interface object are performed directly or indirectly with reference to a user interface object. For594927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)example, a user input is performed directly on the user interface object in accordance with performing the input gesture with the user’s hand at a position that corresponds to the position of the user interface object in the three-dimensional environment (e.g., as determined based on a current viewpoint of the user). In some embodiments, the input gesture is performed indirectly on the user interface object in accordance with the user performing the input gesture while a position of the user’s hand is not at the position that corresponds to the position of the user interface object in the three-dimensional environment while detecting the user’s attention (e.g., gaze) on the user interface object. For example, for direct input gesture, the user is enabled to direct the user’s input to the user interface object by initiating the gesture at, or near, a position corresponding to the displayed position of the user interface object (e.g., within 0.5 cm, 1 cm, 5 cm, or a distance between 0-5 cm, as measured from an outer edge of the option or a center portion of the option). For an indirect input gesture, the user is enabled to direct the user’s input to the user interface object by paying attention to the user interface object (e.g., by gazing at the user interface object) and, while paying attention to the option, the user initiates the input gesture (e.g., at any position that is detectable by the computer system) (e.g., at a position that does not correspond to the displayed position of the user interface object).

[0189] In some embodiments, input gestures (e.g., air gestures) used in the various examples and embodiments described herein include pinch inputs and tap inputs, for interacting with a virtual or mixed-reality environment, in accordance with some embodiments. For example, the pinch inputs and tap inputs described below are performed as air gestures.

[0190] In some embodiments, a pinch input is part of an air gesture that includes one or more of: a pinch gesture, a long pinch gesture, a pinch and drag gesture, or a double pinch gesture. For example, a pinch gesture that is an air gesture includes movement of two or more fingers of a hand to make contact with one another, that is, optionally, followed by an immediate (e.g., within 0-1 seconds) break in contact from each other. A long pinch gesture that is an air gesture includes movement of two or more fingers of a hand to make contact with one another for at least a threshold amount of time (e.g., at least 1 second), before detecting a break in contact with one another. For example, a long pinch gesture includes the user holding a pinch gesture (e.g., with the two or more fingers making contact), and the long pinch gesture continues until a break in contact between the two or more fingers is detected. In some embodiments, a double pinch gesture that is an air gesture comprises two (e.g., or604927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)more) pinch inputs (e.g., performed by the same hand) detected in immediate (e.g., within a predefined time period) succession of each other. For example, the user performs a first pinch input (e.g., a pinch input or a long pinch input), releases the first pinch input (e.g., breaks contact between the two or more fingers), and performs a second pinch input within a predefined time period (e.g., within 1 second or within 2 seconds) after releasing the first pinch input.

[0191] In some embodiments, a pinch and drag gesture that is an air gesture (e.g., an air drag gesture or an air swipe gesture) includes a pinch gesture (e.g., a pinch gesture or a long pinch gesture) performed in conjunction with (e.g., followed by) a drag input that changes a position of the user’s hand from a first position (e.g., a start position of the drag) to a second position (e.g., an end position of the drag). In some embodiments, the user maintains the pinch gesture while performing the drag input, and releases the pinch gesture (e.g., opens their two or more fingers) to end the drag gesture (e.g., at the second position). In some embodiments, the pinch input and the drag input are performed by the same hand (e.g., the user pinches two or more fingers to make contact with one another and moves the same hand to the second position in the air with the drag gesture). In some embodiments, the pinch input is performed by a first hand of the user and the drag input is performed by the second hand of the user (e.g., the user’s second hand moves from the first position to the second position in the air while the user continues the pinch input with the user’s first hand. In some embodiments, an input gesture that is an air gesture includes inputs (e.g., pinch and / or tap inputs) performed using both of the user’s two hands. For example, the input gesture includes two (e.g., or more) pinch inputs performed in conjunction with (e.g., concurrently with, or within a predefined time period of) each other. For example, a first pinch gesture performed using a first hand of the user (e.g., a pinch input, a long pinch input, or a pinch and drag input), and, in conjunction with performing the pinch input using the first hand, performing a second pinch input using the other hand (e.g., the second hand of the user’s two hands).

[0192] In some embodiments, a tap input (e.g., directed to a user interface element) performed as an air gesture includes movement of a user's finger(s) toward the user interface element, movement of the user's hand toward the user interface element optionally with the user’s finger(s) extended toward the user interface element, a downward motion of a user's finger (e.g., mimicking a mouse click motion or a tap on a touchscreen), or other predefined movement of the user’s hand. In some embodiments a tap input that is performed as an air gesture is detected based on movement characteristics of the finger or hand performing the614927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)tap gesture movement of a finger or hand away from the viewpoint of the user and / or toward an object that is the target of the tap input followed by an end of the movement. In some embodiments the end of the movement is detected based on a change in movement characteristics of the finger or hand performing the tap gesture (e.g., an end of movement away from the viewpoint of the user and / or toward the object that is the target of the tap input, a reversal of direction of movement of the finger or hand, and / or a reversal of a direction of acceleration of movement of the finger or hand).

[0193] In some embodiments, attention of a user is determined to be directed to a portion of the three-dimensional environment based on detection of gaze directed to the portion of the three-dimensional environment (optionally, without requiring other conditions). In some embodiments, attention of a user is determined to be directed to a portion of the three-dimensional environment based on detection of gaze directed to the portion of the three-dimensional environment with one or more additional conditions such as requiring that gaze is directed to the portion of the three-dimensional environment for at least a threshold duration (e.g., a dwell duration) and / or requiring that the gaze is directed to the portion of the three-dimensional environment while the viewpoint of the user is within a distance threshold from the portion of the three-dimensional environment in order for the device to determine that attention of the user is directed to the portion of the three-dimensional environment, where if one of the additional conditions is not met, the device determines that attention is not directed to the portion of the three-dimensional environment toward which gaze is directed (e.g., until the one or more additional conditions are met).

[0194] In some embodiments, the detection of a ready state configuration of a user or a portion of a user is detected by the computer system. Detection of a ready state configuration of a hand is used by a computer system as an indication that the user is likely preparing to interact with the computer system using one or more air gesture inputs performed by the hand (e.g., a pinch, tap, pinch and drag, double pinch, long pinch, or other air gesture described herein). For example, the ready state of the hand is determined based on whether the hand has a predetermined hand shape (e.g., a pre-pinch shape with a thumb and one or more fingers extended and spaced apart ready to make a pinch or grab gesture or a pretap with one or more fingers extended and palm facing away from the user), based on whether the hand is in a predetermined position relative to a viewpoint of the user (e.g., below the user’s head and above the user’s waist and extended out from the body by at least 15, 20, 25, 30, or 50cm), and / or based on whether the hand has moved in a particular manner624927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)(e.g., moved toward a region in front of the user above the user’s waist and below the user’s head or moved away from the user’s body or leg). In some embodiments, the ready state is used to determine whether interactive elements of the user interface respond to attention (e.g., gaze) inputs.

[0195] In scenarios where inputs are described with reference to air gestures, it should be understood that similar gestures could be detected using a hardware input device that is attached to or held by one or more hands of a user, where the position of the hardware input device in space can be tracked using optical tracking, one or more accelerometers, one or more gyroscopes, one or more magnetometers, and / or one or more inertial measurement units and the position and / or movement of the hardware input device is used in place of the position and / or movement of the one or more hands in the corresponding air gesture(s). In scenarios where inputs are described with reference to air gestures, it should be understood that similar gestures could be detected using a hardware input device that is attached to or held by one or more hands of a user. User inputs can be detected with controls contained in the hardware input device such as one or more touch-sensitive input elements, one or more pressure-sensitive input elements, one or more buttons, one or more knobs, one or more dials, one or more joysticks, one or more hand or finger coverings that can detect a position or change in position of portions of a hand and / or fingers relative to each other, relative to the user’s body, and / or relative to a physical environment of the user, and / or other hardware input device controls, where the user inputs with the controls contained in the hardware input device are used in place of hand and / or finger gestures such as air taps or air pinches in the corresponding air gesture(s). For example, a selection input that is described as being performed with an air tap or air pinch input could be alternatively detected with a button press, a tap on a touch-sensitive surface, a press on a pressure-sensitive surface, or other hardware input. As another example, a movement input that is described as being performed with an air pinch and drag (e.g., an air drag gesture or an air swipe gesture) could be alternatively detected based on an interaction with the hardware input control such as a button press and hold, a touch on a touch-sensitive surface, a press on a pressure-sensitive surface, or other hardware input that is followed by movement of the hardware input device (e.g., along with the hand with which the hardware input device is associated) through space.Similarly, a two-handed input that includes movement of the hands relative to each other could be performed with one air gesture and one hardware input device in the hand that is not performing the air gesture, two hardware input devices held in different hands, or two air634927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)gestures performed by different hands using various combinations of air gestures and / or the inputs detected by one or more hardware input devices that are described above.

[0196] In some embodiments, the software may be downloaded to the controller 110 in electronic form, over a network, for example, or it may alternatively be provided on tangible, non-transitory media, such as optical, magnetic, or electronic memory media. In some embodiments, the database 408 is likewise stored in a memory associated with the controller 110. Alternatively or additionally, some or all of the described functions of the computer may be implemented in dedicated hardware, such as a custom or semi-custom integrated circuit or a programmable digital signal processor (DSP). Although the controller 110 is shown in Figure 4, by way of example, as a separate unit from the image sensors 404, some or all of the processing functions of the controller may be performed by a suitable microprocessor and software or by dedicated circuitry within the housing of the image sensors 404 (e.g., a hand tracking device) or otherwise associated with the image sensors 404. In some embodiments, at least some of these processing functions may be carried out by a suitable processor that is integrated with the display generation component 120 (e.g., in a television set, a handheld device, or head-mounted device, for example) or with any other suitable computerized device, such as a game console or media player. The sensing functions of image sensors 404 may likewise be integrated into the computer or other computerized apparatus that is to be controlled by the sensor output.

[0197] Figure 4 further includes a schematic representation of a depth map 410 captured by the image sensors 404, in accordance with some embodiments. The depth map, as explained above, comprises a matrix of pixels having respective depth values. The pixels 412 corresponding to the hand 406 have been segmented out from the background and the wrist in this map. The brightness of each pixel within the depth map 410 corresponds inversely to its depth value, i.e., the measured z distance from the image sensors 404, with the shade of gray growing darker with increasing depth. The controller 110 processes these depth values in order to identify and segment a component of the image (i.e., a group of neighboring pixels) having characteristics of a human hand. These characteristics, may include, for example, overall size, shape and motion from frame to frame of the sequence of depth maps.

[0198] Figure 4 also schematically illustrates a hand skeleton 414 that controller 110 ultimately extracts from the depth map 410 of the hand 406, in accordance with some embodiments. In Figure 4, the hand skeleton 414 is superimposed on a hand background 416644927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)that has been segmented from the original depth map. In some embodiments, key feature points of the hand (e.g., points corresponding to knuckles, finger tips, center of the palm, end of the hand connecting to wrist, etc.) and optionally on the wrist or arm connected to the hand are identified and located on the hand skeleton 414. In some embodiments, location and movements of these key feature points over multiple image frames are used by the controller 110 to determine the hand gestures performed by the hand or the current state of the hand, in accordance with some embodiments.

[0199] Figure 5 illustrates an example embodiment of the eye tracking device 130 (Figure 1A). In some embodiments, the eye tracking device 130 is controlled by the eye tracking unit 243 (Figure 2) to track the position and movement of the user’s gaze with respect to the scene 105 or with respect to the XR content displayed via the display generation component 120. In some embodiments, the eye tracking device 130 is integrated with the display generation component 120. For example, in some embodiments, when the display generation component 120 is a head-mounted device such as headset, helmet, goggles, or glasses, or a handheld device placed in a wearable frame, the head-mounted device includes both a component that generates the XR content for viewing by the user and a component for tracking the gaze of the user relative to the XR content. In some embodiments, the eye tracking device 130 is separate from the display generation component 120. For example, when display generation component is a handheld device or a XR chamber, the eye tracking device 130 is optionally a separate device from the handheld device or XR chamber. In some embodiments, the eye tracking device 130 is a head-mounted device or part of a head-mounted device. In some embodiments, the head-mounted eye-tracking device 130 is optionally used in conjunction with a display generation component that is also headmounted, or a display generation component that is not head-mounted. In some embodiments, the eye tracking device 130 is not a head-mounted device, and is optionally used in conjunction with a head-mounted display generation component. In some embodiments, the eye tracking device 130 is not a head-mounted device, and is optionally part of a non-head-mounted display generation component.

[0200] In some embodiments, the display generation component 120 uses a display mechanism (e.g., left and right near-eye display panels) for displaying frames including left and right images in front of a user’s eyes to thus provide 3D virtual views to the user. For example, a head-mounted display generation component may include left and right optical lenses (referred to herein as eye lenses) located between the display and the user’s eyes. In654927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)some embodiments, the display generation component may include or be coupled to one or more external video cameras that capture video of the user’s environment for display. In some embodiments, a head-mounted display generation component may have a transparent or semi-transparent display through which a user may view the physical environment directly and display virtual objects on the transparent or semi-transparent display. In some embodiments, display generation component projects virtual objects into the physical environment. The virtual objects may be projected, for example, on a physical surface or as a holograph, so that an individual, using the system, observes the virtual objects superimposed over the physical environment. In such cases, separate display panels and image frames for the left and right eyes may not be necessary.

[0201] As shown in Figure 5, in some embodiments, eye tracking device 130 (e.g., a gaze tracking device) includes at least one eye tracking camera (e.g., infrared (IR) or near-IR (NIR) cameras), and illumination sources (e.g., IR or NIR light sources such as an array or ring of LEDs) that emit light (e.g., IR or NIR light) towards the user’s eyes. The eye tracking cameras may be pointed towards the user’s eyes to receive reflected IR or NIR light from the light sources directly from the eyes, or alternatively may be pointed towards “hot” mirrors located between the user’s eyes and the display panels that reflect IR or NIR light from the eyes to the eye tracking cameras while allowing visible light to pass. The eye tracking device 130 optionally captures images of the user’s eyes (e.g., as a video stream captured at 60-120 frames per second (fps)), analyze the images to generate gaze tracking information, and communicate the gaze tracking information to the controller 110. In some embodiments, two eyes of the user are separately tracked by respective eye tracking cameras and illumination sources. In some embodiments, only one eye of the user is tracked by a respective eye tracking camera and illumination sources.

[0202] In some embodiments, the eye tracking device 130 is calibrated using a device-specific calibration process to determine parameters of the eye tracking device for the specific operating environment 100, for example the 3D geometric relationship and parameters of the LEDs, cameras, hot mirrors (if present), eye lenses, and display screen. The device-specific calibration process may be performed at the factory or another facility prior to delivery of the AR / VR equipment to the end user. The device- specific calibration process may be an automated calibration process or a manual calibration process. A user-specific calibration process may include an estimation of a specific user’s eye parameters, for example the pupil location, fovea location, optical axis, visual axis, eye spacing, etc. Once the664927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)device-specific and user- specific parameters are determined for the eye tracking device 130, images captured by the eye tracking cameras can be processed using a glint-assisted method to determine the current visual axis and point of gaze of the user with respect to the display, in accordance with some embodiments.

[0203] As shown in Figure 5, the eye tracking device 130 (e.g., 130A or 130B) includes eye lens(es) 520, and a gaze tracking system that includes at least one eye tracking camera 540 (e.g., infrared (IR) or near-IR (NIR) cameras) positioned on a side of the user’s face for which eye tracking is performed, and an illumination source 530 (e.g., IR or NIR light sources such as an array or ring of NIR light-emitting diodes (LEDs)) that emit light (e.g., IR or NIR light) towards the user’s eye(s) 592. The eye tracking cameras 540 may be pointed towards mirrors 550 located between the user’s eye(s) 592 and a display 510 (e.g., a left or right display panel of a head-mounted display, or a display of a handheld device, a projector, etc.) that reflect IR or NIR light from the eye(s) 592 while allowing visible light to pass (e.g., as shown in the top portion of Figure 5), or alternatively may be pointed towards the user’s eye(s) 592 to receive reflected IR or NIR light from the eye(s) 592 (e.g., as shown in the bottom portion of Figure 5).

[0204] In some embodiments, the controller 110 renders AR or VR frames 562 (e.g., left and right frames for left and right display panels) and provides the frames 562 to the display 510. The controller 110 uses gaze tracking input 542 from the eye tracking cameras 540 for various purposes, for example in processing the frames 562 for display. The controller 110 optionally estimates the user’s point of gaze on the display 510 based on the gaze tracking input 542 obtained from the eye tracking cameras 540 using the glint-assisted methods or other suitable methods. The point of gaze estimated from the gaze tracking input 542 is optionally used to determine the direction in which the user is currently looking.

[0205] The following describes several possible use cases for the user’s current gaze direction, and is not intended to be limiting. As an example use case, the controller 110 may render virtual content differently based on the determined direction of the user’s gaze. For example, the controller 110 may generate virtual content at a higher resolution in a foveal region determined from the user’s current gaze direction than in peripheral regions. As another example, the controller may position or move virtual content in the view based at least in part on the user’s current gaze direction. As another example, the controller may display particular virtual content in the view based at least in part on the user’s current gaze direction. As another example use case in AR applications, the controller 110 may direct674927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)external cameras for capturing the physical environments of the XR experience to focus in the determined direction. The autofocus mechanism of the external cameras may then focus on an object or surface in the environment that the user is currently looking at on the display 510. As another example use case, the eye lenses 520 may be focusable lenses, and the gaze tracking information is used by the controller to adjust the focus of the eye lenses 520 so that the virtual object that the user is currently looking at has the proper vergence to match the convergence of the user’s eyes 592. The controller 110 may leverage the gaze tracking information to direct the eye lenses 520 to adjust focus so that close objects that the user is looking at appear at the right distance.

[0206] In some embodiments, the eye tracking device is part of a head-mounted device that includes a display (e.g., display 510), two eye lenses (e.g., eye lens(es) 520), eye tracking cameras (e.g., eye tracking camera(s) 540), and light sources (e.g., illumination sources 530 (e.g., IR or NIR LEDs), mounted in a wearable housing. The light sources emit light (e.g., IR or NIR light) towards the user’s eye(s) 592. In some embodiments, the light sources may be arranged in rings or circles around each of the lenses as shown in Figure 5. In some embodiments, eight illumination sources 530 (e.g., LEDs) are arranged around each lens 520 as an example. However, more or fewer illumination sources 530 may be used, and other arrangements and locations of illumination sources 530 may be used.

[0207] In some embodiments, the display 510 emits light in the visible light range and does not emit light in the IR or NIR range, and thus does not introduce noise in the gaze tracking system. Note that the location and angle of eye tracking camera(s) 540 is given by way of example, and is not intended to be limiting. In some embodiments, a single eye tracking camera 540 is located on each side of the user’s face. In some embodiments, two or more NIR cameras 540 may be used on each side of the user’s face. In some embodiments, a camera 540 with a wider field of view (FOV) and a camera 540 with a narrower FOV may be used on each side of the user’s face. In some embodiments, a camera 540 that operates at one wavelength (e.g., 850nm) and a camera 540 that operates at a different wavelength (e.g., 940nm) may be used on each side of the user’s face.

[0208] Embodiments of the gaze tracking system as illustrated in Figure 5 may, for example, be used in computer-generated reality, virtual reality, and / or mixed reality applications to provide computer-generated reality, virtual reality, augmented reality, and / or augmented virtuality experiences to the user.684927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0209] Figure 6 illustrates a glint-assisted gaze tracking pipeline, in accordance with some embodiments. In some embodiments, the gaze tracking pipeline is implemented by a glint-assisted gaze tracking system (e.g., eye tracking device 130 as illustrated in Figures 1 A and 5). The glint-assisted gaze tracking system may maintain a tracking state. Initially, the tracking state is off or “NO”. When in the tracking state, the glint-assisted gaze tracking system uses prior information from the previous frame when analyzing the current frame to track the pupil contour and glints in the current frame. When not in the tracking state, the glint-assisted gaze tracking system attempts to detect the pupil and glints in the current frame and, if successful, initializes the tracking state to “YES” and continues with the next frame in the tracking state.

[0210] As shown in Figure 6, the gaze tracking cameras may capture left and right images of the user’s left and right eyes. The captured images are then input to a gaze tracking pipeline for processing beginning at 610. As indicated by the arrow returning to element 600, the gaze tracking system may continue to capture images of the user’s eyes, for example at a rate of 60 to 120 frames per second. In some embodiments, each set of captured images may be input to the pipeline for processing. However, in some embodiments or under some conditions, not all captured frames are processed by the pipeline.

[0211] At 610, for the current captured images, if the tracking state is YES, then the method proceeds to element 640. At 610, if the tracking state is NO, then as indicated at 620 the images are analyzed to detect the user’s pupils and glints in the images. At 630, if the pupils and glints are successfully detected, then the method proceeds to element 640.Otherwise, the method returns to element 610 to process next images of the user’s eyes.

[0212] At 640, if proceeding from element 610, the current frames are analyzed to track the pupils and glints based in part on prior information from the previous frames. At 640, if proceeding from element 630, the tracking state is initialized based on the detected pupils and glints in the current frames. Results of processing at element 640 are checked to verify that the results of tracking or detection can be trusted. For example, results may be checked to determine if the pupil and a sufficient number of glints to perform gaze estimation are successfully tracked or detected in the current frames. At 650, if the results cannot be trusted, then the tracking state is set to NO at element 660, and the method returns to element 610 to process next images of the user’s eyes. At 650, if the results are trusted, then the method proceeds to element 670. At 670, the tracking state is set to YES (if not already694927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)YES), and the pupil and glint information is passed to element 680 to estimate the user’s point of gaze.

[0213] Figure 6 is intended to serve as one example of eye tracking technology that may be used in a particular implementation. As recognized by those of ordinary skill in the art, other eye tracking technologies that currently exist or are developed in the future may be used in place of or in combination with the glint-assisted eye tracking technology describe herein in the computer system 101 for providing XR experiences to users, in accordance with various embodiments.

[0214] In some embodiments, the captured portions of real world environment 602 are used to provide a XR experience to the user, for example, a mixed reality environment in which one or more virtual objects are superimposed over representations of real world environment 602.

[0215] Thus, the description herein describes some embodiments of three-dimensional environments (e.g., XR environments) that include representations of real world objects and representations of virtual objects. For example, a three-dimensional environment optionally includes a representation of a table that exists in the physical environment, which is captured and displayed in the three-dimensional environment (e.g., actively via cameras and displays of a computer system, or passively via a transparent or translucent display of the computer system). As described previously, the three-dimensional environment is optionally a mixed reality system in which the three-dimensional environment is based on the physical environment that is captured by one or more sensors of the computer system and displayed via a display generation component. As a mixed reality system, the computer system is optionally able to selectively display portions and / or objects of the physical environment such that the respective portions and / or objects of the physical environment appear as if they exist in the three-dimensional environment displayed by the computer system. Similarly, the computer system is optionally able to display virtual objects in the three-dimensional environment to appear as if the virtual objects exist in the real world (e.g., physical environment) by placing the virtual objects at respective locations in the three-dimensional environment that have corresponding locations in the real world. For example, the computer system optionally displays a vase such that it appears as if a real vase is placed on top of a table in the physical environment. In some embodiments, a respective location in the three-dimensional environment has a corresponding location in the physical environment. Thus, when the computer system is described as displaying a virtual object at a respective location704927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)with respect to a physical object (e.g., such as a location at or near the hand of the user, or at or near a physical table), the computer system displays the virtual object at a particular location in the three-dimensional environment such that it appears as if the virtual object is at or near the physical object in the physical world (e.g., the virtual object is displayed at a location in the three-dimensional environment that corresponds to a location in the physical environment at which the virtual object would be displayed if it were a real object at that particular location).

[0216] In some embodiments, real world objects that exist in the physical environment that are displayed in the three-dimensional environment (e.g., and / or visible via the display generation component) can interact with virtual objects that exist only in the three-dimensional environment. For example, a three-dimensional environment can include a table and a vase placed on top of the table, with the table being a view of (or a representation of) a physical table in the physical environment, and the vase being a virtual object.

[0217] In a three-dimensional environment (e.g., a real environment, a virtual environment, or an environment that includes a mix of real and virtual objects), objects are sometimes referred to as having a depth or simulated depth, or objects are referred to as being visible, displayed, or placed at different depths. In this context, depth refers to a dimension other than height or width. In some embodiments, depth is defined relative to a fixed set of coordinates (e.g., where a room or an object has a height, depth, and width defined relative to the fixed set of coordinates). In some embodiments, depth is defined relative to a location or viewpoint of a user, in which case, the depth dimension varies based on the location of the user and / or the location and angle of the viewpoint of the user. In some embodiments where depth is defined relative to a location of a user that is positioned relative to a surface of an environment (e.g., a floor of an environment, or a surface of the ground), objects that are further away from the user along a line that extends parallel to the surface are considered to have a greater depth in the environment, and / or the depth of an object is measured along an axis that extends outward from a location of the user and is parallel to the surface of the environment (e.g., depth is defined in a cylindrical or substantially cylindrical coordinate system with the position of the user at the center of the cylinder that extends from a head of the user toward feet of the user). In some embodiments where depth is defined relative to viewpoint of a user (e.g., a direction relative to a point in space that determines which portion of an environment that is visible via a head mounted device or other display), objects that are further away from the viewpoint of the user along a line that extends parallel to the direction714927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)of the viewpoint of the user are considered to have a greater depth in the environment, and / or the depth of an object is measured along an axis that extends outward from a line that extends from the viewpoint of the user and is parallel to the direction of the viewpoint of the user (e.g., depth is defined in a spherical or substantially spherical coordinate system with the origin of the viewpoint at the center of the sphere that extends outwardly from a head of the user). In some embodiments, depth is defined relative to a user interface container (e.g., a window or application in which application and / or system content is displayed) where the user interface container has a height and / or width, and depth is a dimension that is orthogonal to the height and / or width of the user interface container. In some embodiments, in circumstances where depth is defined relative to a user interface container, the height and or width of the container are typically orthogonal or substantially orthogonal to a line that extends from a location based on the user (e.g., a viewpoint of the user or a location of the user) to the user interface container (e.g., the center of the user interface container, or another characteristic point of the user interface container) when the container is placed in the three-dimensional environment or is initially displayed (e.g., so that the depth dimension for the container extends outward away from the user or the viewpoint of the user). In some embodiments, in situations where depth is defined relative to a user interface container, depth of an object relative to the user interface container refers to a position of the object along the depth dimension for the user interface container. In some embodiments, multiple different containers can have different depth dimensions (e.g., different depth dimensions that extend away from the user or the viewpoint of the user in different directions and / or from different starting points). In some embodiments, when depth is defined relative to a user interface container, the direction of the depth dimension remains constant for the user interface container as the location of the user interface container, the user and / or the viewpoint of the user changes (e.g., or when multiple different viewers are viewing the same container in the three-dimensional environment such as during an in-person collaboration session and / or when multiple participants are in a real-time communication session with shared virtual content including the container). In some embodiments, for curved containers (e.g., including a container with a curved surface or curved content region), the depth dimension optionally extends into a surface of the curved container. In some situations, z-separation (e.g., separation of two objects in a depth dimension), z-height (e.g., distance of one object from another in a depth dimension), z-position (e.g., position of one object in a depth dimension), z-depth (e.g., position of one object in a depth dimension), or simulated z dimension (e.g., depth used as a dimension of an object, dimension of an environment, a direction in space,724927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)and / or a direction in simulated space) are used to refer to the concept of depth as described above.

[0218] In some embodiments, a user is optionally able to interact with virtual objects in the three-dimensional environment using one or more hands as if the virtual objects were real objects in the physical environment. For example, as described above, one or more sensors of the computer system optionally capture one or more of the hands of the user and display representations of the hands of the user in the three-dimensional environment (e.g., in a manner similar to displaying a real world object in three-dimensional environment described above), or in some embodiments, the hands of the user are visible via the display generation component via the ability to see the physical environment through the user interface due to the transparency / translucency of a portion of the display generation component that is displaying the user interface or due to projection of the user interface onto a transparent / translucent surface or projection of the user interface onto the user’s eye or into a field of view of the user’s eye. Thus, in some embodiments, the hands of the user are displayed at a respective location in the three-dimensional environment and are treated as if they were objects in the three-dimensional environment that are able to interact with the virtual objects in the three-dimensional environment as if they were physical objects in the physical environment. In some embodiments, the computer system is able to update display of the representations of the user’s hands in the three-dimensional environment in conjunction with the movement of the user’s hands in the physical environment.

[0219] In some of the embodiments described below, the computer system is optionally able to determine the “effective” distance between physical objects in the physical world and virtual objects in the three-dimensional environment, for example, for the purpose of determining whether a physical object is directly interacting with a virtual object (e.g., whether a hand is touching, grabbing, holding, etc. a virtual object or within a threshold distance of a virtual object). For example, a hand directly interacting with a virtual object optionally includes one or more of a finger of a hand pressing a virtual button, a hand of a user grabbing a virtual vase, two fingers of a hand of the user coming together and pinching / holding a user interface of an application, and any of the other types of interactions described here. For example, the computer system optionally determines the distance between the hands of the user and virtual objects when determining whether the user is interacting with virtual objects and / or how the user is interacting with virtual objects. In some embodiments, the computer system determines the distance between the hands of the user and734927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)a virtual object by determining the distance between the location of the hands in the three-dimensional environment and the location of the virtual object of interest in the three-dimensional environment. For example, the one or more hands of the user are located at a particular position in the physical world, which the computer system optionally captures and displays at a particular corresponding position in the three-dimensional environment (e.g., the position in the three-dimensional environment at which the hands would be displayed if the hands were virtual, rather than physical, hands). The position of the hands in the three-dimensional environment is optionally compared with the position of the virtual object of interest in the three-dimensional environment to determine the distance between the one or more hands of the user and the virtual object. In some embodiments, the computer system optionally determines a distance between a physical object and a virtual object by comparing positions in the physical world (e.g., as opposed to comparing positions in the three-dimensional environment). For example, when determining the distance between one or more hands of the user and a virtual object, the computer system optionally determines the corresponding location in the physical world of the virtual object (e.g., the position at which the virtual object would be located in the physical world if it were a physical object rather than a virtual object), and then determines the distance between the corresponding physical position and the one of more hands of the user. In some embodiments, the same techniques are optionally used to determine the distance between any physical object and any virtual object. Thus, as described herein, when determining whether a physical object is in contact with a virtual object or whether a physical object is within a threshold distance of a virtual object, the computer system optionally performs any of the techniques described above to map the location of the physical object to the three-dimensional environment and / or map the location of the virtual object to the physical environment.

[0220] In some embodiments, the same or similar technique is used to determine where and what the gaze of the user is directed to and / or where and at what a physical stylus held by a user is pointed. For example, if the gaze of the user is directed to a particular position in the physical environment, the computer system optionally determines the corresponding position in the three-dimensional environment (e.g., the virtual position of the gaze), and if a virtual object is located at that corresponding virtual position, the computer system optionally determines that the gaze of the user is directed to that virtual object.Similarly, the computer system is optionally able to determine, based on the orientation of a physical stylus, to where in the physical environment the stylus is pointing. In some744927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)embodiments, based on this determination, the computer system determines the corresponding virtual position in the three-dimensional environment that corresponds to the location in the physical environment to which the stylus is pointing, and optionally determines that the stylus is pointing at the corresponding virtual position in the three-dimensional environment.

[0221] Similarly, the embodiments described herein may refer to the location of the user (e.g., the user of the computer system) and / or the location of the computer system in the three-dimensional environment. In some embodiments, the user of the computer system is holding, wearing, or otherwise located at or near the computer system. Thus, in some embodiments, the location of the computer system is used as a proxy for the location of the user. In some embodiments, the location of the computer system and / or user in the physical environment corresponds to a respective location in the three-dimensional environment. For example, the location of the computer system would be the location in the physical environment (and its corresponding location in the three-dimensional environment) from which, if a user were to stand at that location facing a respective portion of the physical environment that is visible via the display generation component, the user would see the objects in the physical environment in the same positions, orientations, and / or sizes as they are displayed by or visible via the display generation component of the computer system in the three-dimensional environment (e.g., in absolute terms and / or relative to each other). Similarly, if the virtual objects displayed in the three-dimensional environment were physical objects in the physical environment (e.g., placed at the same locations in the physical environment as they are in the three-dimensional environment, and having the same sizes and orientations in the physical environment as in the three-dimensional environment), the location of the computer system and / or user is the position from which the user would see the virtual objects in the physical environment in the same positions, orientations, and / or sizes as they are displayed by the display generation component of the computer system in the three-dimensional environment (e.g., in absolute terms and / or relative to each other and the real world objects).

[0222] In the present disclosure, various input methods are described with respect to interactions with a computer system. When an example is provided using one input device or input method and another example is provided using another input device or input method, it is to be understood that each example may be compatible with and optionally utilizes the input device or input method described with respect to another example. Similarly, various754927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)output methods are described with respect to interactions with a computer system. When an example is provided using one output device or output method and another example is provided using another output device or output method, it is to be understood that each example may be compatible with and optionally utilizes the output device or output method described with respect to another example. Similarly, various methods are described with respect to interactions with a virtual environment or a mixed reality environment through a computer system. When an example is provided using interactions with a virtual environment and another example is provided using mixed reality environment, it is to be understood that each example may be compatible with and optionally utilizes the methods described with respect to another example. As such, the present disclosure discloses embodiments that are combinations of the features of multiple examples, without exhaustively listing all features of an embodiment in the description of each example embodiment.USER INTERFACES AND ASSOCIATED PROCESSES

[0223] Attention is now directed towards embodiments of user interfaces (“UI”) and associated processes that may be implemented on a computer system, such as portable multifunction device or a head-mounted device, with a display generation component, one or more input devices, and (optionally) one or more cameras.

[0224] Figs. 7A-7AA illustrate exemplary ways in which a computer system pins virtual objects to surfaces in a three-dimensional environment. The embodiments in these Figures are used to illustrate the processes described below, including the processes described with reference to Fig. 8. Although Figs. 7A-7AA illustrate various examples of ways a computer system is able to perform the processes described below with respect to Fig. 8, it should be understood that these examples are not meant to be limiting, and the computer system is able to perform one or more processes described below with reference to Fig. 8 in ways not expressly described with reference to Figs. 7A-7AA.

[0225] Fig. 7A illustrates a computer system 101 displaying, via a display generation component (e.g., display generation component 120 of Fig. 1), a three-dimensional environment 702. As described above with reference to Figs. 1-6, the computer system 101 optionally includes a display generation component (e.g., a touch screen) and a plurality of image sensors (e.g., image sensors 314 of Fig. 3). The image sensors optionally include one or more of a visible light camera, an infrared camera, a depth sensor, or any other sensor the computer system 101 would be able to use to capture one or more images of a user or a part764927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)of the user while the user interacts with the computer system 101. In some embodiments, the user interfaces and / or content shown below could also be implemented on a head-mounted display that includes a display generation component that displays the user interface to the user and sensors to detect the physical environment and / or movements of the user’s hands (e.g., external sensors facing outwards from the user), and / or gaze of the user (e.g., internal sensors facing inwards towards the face of the user). The figures herein illustrate a three-dimensional environment that is presented to the user by system 101 (e.g., and displayed by the display generation component of system 101) and alternative views (e.g., overhead views, side views, and / or front views) of the physical and / or three-dimensional environment associated with system 101 to illustrate the relative location of objects in the real world environment and the location of virtual objects in the three-dimensional environment.

[0226] For the purpose of illustration, Figs. 7A-7AA include respective overhead views 770 of the physical and / or three-dimensional environment s) associated with system 101 that indicate the positions of various objects in the environments in a horizontal dimension and a depth dimension. The overhead views of the environments further include an indication of the viewpoint of the user 706 of the computer system 101. For example, the computer system 101 displays the view of the three-dimensional environment 702 visible through the display generation component 120 from the viewpoint of the user 706 illustrated in the overhead view 770 of the three-dimensional environment 702.

[0227] As shown in Fig. 7A, computer system 101 captures one or more images of the physical environment 700 around system 101 (e.g., operating environment 100), including one or more objects in the physical environment 700 around system 101. In some embodiments, system 101 displays representations of the physical environment (also referred to as a real-world environment) in three-dimensional environment 702. For example, three-dimensional environment 702 includes a representation of a wall 708. Thus, three-dimensional environment 702 optionally recreates portions of physical environment 700 such that three-dimensional environment 702 appears to the user as if the user is physically located in physical environment 700 (e.g., optionally from the perspective of the user’s current location in physical environment 700 and facing the direction that the user is currently facing).

[0228] In Fig. 7A, computer system 101 displays a virtual object 710 in the three-dimensional environment 702. Virtual object 710 is a first type of object (e.g., a user interface object 712), such as a document, an image (e.g., a photo and / or a drawing), a video774927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)(e.g., a movie or a television show), and / or other media content, an application (e.g., a browser and / or a game), and / or other user interface object. In some embodiments, such as described further below, the virtual object is a different type of object (e.g., a second type of object, a third type of object, and the like), such as a virtual widget, a three-dimensional object, and / or a non-user interface object. Virtual object 710 includes or more system control elements, such as close button 722a and grabber bar or handle 722b, that the computer system 101 displays concurrently with virtual object 710 and that when detected as being selected allow the user to cease display of virtual object 710 and move the location of virtual object 710 in three-dimensional environment respectively. As noted above, three-dimensional environment 702 further includes wall 708, which is a representation of a wall of the real-world environment 700. Wall 708 is a vertical surface and therefore a first type of surface. In the example of FIG. 7A, virtual object 710 is displayed as free-floating in the three-dimensional environment 702 and at some distance from wall 708 (e.g., not in contact with wall 708).

[0229] In Fig. 7B, the computer system 101 detects an input corresponding to a request to move virtual object 710 in the three-dimensional environment 702 toward wall 708 (e.g. toward to the right side from the viewpoint of user 706). The input is directed to grabber bar 722b of the virtual object 710. In particular, the input includes an air pinch gesture performed by a hand 706b of the user 706 while attention of the user (e.g., based on gaze 706a) is directed to the grabber bar 722b, followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by hand 706b of the user.

[0230] In Fig. 7C, in response to detecting the input, computer system 101 moves the virtual object 710 in the three-dimensional environment 702 in accordance with the first input. In particular, the computer system 101 moves the virtual object 710 according to a magnitude of the input (e.g., by a distance corresponding to a distance of the movement of hand 706b during the drag gesture) and a direction of the input (e.g., according to a direction of the movement of hand 706b during the drag gesture). As shown in overhead view 770 of Fig. 7C, indication 715 is an imaginary location indication that indicates the location of the three-dimensional environment that corresponds to the input (e.g., movement of the hand 706b of the user) detected by the computer system 101. In Fig. 7C, where indication 715 is shown to be concurrent with the virtual object 710 indicates that the location of the virtual object 710 corresponds to the input. The computer system 101 thus moves the virtual object 710 toward wall 708 in the three-dimensional environment 702.784927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0231] In some embodiments, in response to detecting the input corresponding to the request to move the virtual object 710 in the three-dimensional environment 702, computer system 101 determines whether the virtual object 710 is able to be pinned the wall 708 (e.g., the first surface). In some embodiments, whether a virtual object is able to be pinned to a surface in the three-dimensional environment 702 (e.g., a pinnable object or pinnable virtual object) is a property of the virtual object (e.g., separate from input directed to the virtual object and / or a relative location of the virtual object relative to a surface and / or separate from the one or more snapping criteria). Accordingly, the determination that virtual object 710 is able to be pinned optionally includes a determination of a property of virtual object 710 (e.g., a pinning property). In some embodiments, the pinning property is defined or set by an application associated with the virtual object 710, and / or based on an object type of the virtual object 710. In some embodiments, the pinning property of the virtual object 710 is user-defined. In some embodiments, the pinning property includes one or more properties described above. In the embodiment illustrated, virtual object 710 is a pinnable object (e.g., an object that the computer system 101 is able to pin to a surface in the three-dimensional environment 702).

[0232] In some embodiments, in response to detecting the input corresponding to the request to move the virtual object 710 in the three-dimensional environment, computer system 101 determines whether the virtual object 710 meets one or more snapping criteria, which determine whether an object (e.g., virtual object 710) can be snapped to a surface (e.g., wall 708) in the three-dimensional environment 702. The computer system 101 pins the virtual object to wall 708 if the one or more snapping criteria are satisfied. In some embodiments, the one or more snapping criteria include snapping criteria related to proximity of the virtual object 710 to a surface (e.g., wall 708), a size of the virtual object 710 and / or the surface (e.g., wall 708), the object type of the virtual object 710, and movement of the virtual object 710, among other criteria, for example. In the example illustrated, the one or more snapping criteria include one or more movement criteria that are satisfied based on a comparison of movement of the virtual object 710 in the three-dimensional environment 702 to one of more movement thresholds. For example, the one or more snapping criteria include a criterion (e.g., a distance criterion) that is satisfied when a distance of the virtual object 710 from the wall 708 is less than threshold distance 732 (e.g., a snapping distance threshold 732), as shown in overhead view 770 of Fig. 7C. In Fig. 7C, the distance criterion is not794927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)satisfied because the virtual object 710 is further from wall 708 than the threshold distance 732.

[0233] In Fig. 7D, the computer system 101 has moved the virtual object 710 closer to wall 708 in response to detecting the input from hand 706 while 706a is directed to virtual object 710. The virtual object 710 moved according to the input, as shown by the concurrence of indication 715 with the virtual object 710 in overhead view 770 of Fig. 7D. In particular, the virtual object 710 was moved by the user 706 to within the threshold distance 732 of wall 708 (e.g., a portion of the virtual object 710 is closer to wall 708 than the threshold distance 732) as shown in overhead view 770 of Fig. 7D. Accordingly, the distance criterion (e.g., of the one or more snapping criteria) is satisfied because the virtual object 710 is less than a threshold distance 732 from wall 708. In addition to a distance criteria, the virtual object 710 optionally satisfies a timing criteria in order to be pinned to wall 708. The timing criterion is illustrated with time bar 724, which indicates the amount of time 724a that the virtual object 710 has been within the threshold distance 732. In FIG. 7D, even though the virtual object 710 is within the threshold distance 732, computer system 101 does not pin the virtual object to wall 708, because the amount of time 724a that the virtual object 710 has been within the threshold distance 732 is less than a threshold time 724b. Accordingly, while the distance criterion is satisfied, the timing criterion is not yet satisfied. Therefore, as shown in Fig. 7D, because the virtual object 710 does not meet the one or more snapping criteria (e.g., because the timing criterion is not satisfied), the computer system 101 does not pin the virtual object 710 to wall 708.

[0234] In Fig. 7E, virtual object 710 continues to remain within the threshold distance 732, and thus the time 724a that the virtual object is within the threshold distance of the wall 708 exceeds the threshold time 724b, thus satisfying the timing criterion of the one or more snapping criteria. In addition, as previously described, the distance criterion is satisfied because the virtual object is closer to wall 708 than the threshold distance 734.

[0235] In Fig. 7F, as a result of meeting the one or more snapping criteria (e.g., the distance criterion and the timing criterion) and in accordance with the determination that the virtual object 710 is pinnable (e.g., as previously described), computer system 101 snaps the virtual object 710 to wall 708. To snap the virtual object 710 to wall 708, the computer system 101 automatically moves the virtual object 710 to align with wall 708. The virtual object 710 is moved without user input (e.g., automatically) to a location against the wall 708, as indicated by the fact that indication 715 corresponding to the location corresponding804927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)to the input has stayed in place while the virtual object has been moved to the wall. In addition, computer system 101 changes an orientation of the virtual object to snap the object against the wall 708. In particular, the computer system 101 rotates the virtual object 710 to orient the virtual object 710 such that the back surface of the virtual object 710 lies flat against the wall 708 (e.g., the computer system 101 changes the orientation of the virtual object 710 to be aligned with the orientation of wall 708).

[0236] In Fig. 7G, the computer system 101 pins the virtual object 710 to wall 708. computer system 101 pins the virtual object 710 to wall 708 as a result of meeting the one or more snapping criteria (e.g., the distance criterion and the timing criterion) and in accordance with the determination that the virtual object 710 is pinnable (e.g., as previously described). In some embodiments, the computer system pins the virtual object when the computer system 101 detects that the input corresponding to the request to move the virtual object (e.g., toward the wall 708) has ended (e.g., with a de-pinch of the hand 706b in the user, as shown in Fig.7G).

[0237] In some embodiments, a visual appearance of the virtual object 710 changes when the virtual object 710 is pinned to a surface (e.g., wall 708). For example, as illustrated in Fig. 7G, the computer system displays a virtual shadow 726 (e.g., a contact shadow 726a) associated with the virtual object 710 when the virtual object 710 is pinned to wall 708. In addition, the computer system 101 ceases display of the one or more system controls elements associated with the virtual object 710, such as close button 722a and grabber bar or handle 722b that were displayed concurrently with the unpinned virtual object in Figs. 7A-7E. Further, the computer system 101 displays (e.g., concurrently with the virtual object 710) a visual indication 725 that the virtual object 710 is pinned to a surface. In some embodiments, the visual indication that virtual object 710 is pinned is a round icon displayed concurrently with the virtual object 710, such as below the virtual object. Optionally, the visual indication that the virtual object 710 is pinned is a dynamic icon that changes in response to attention and / or input directed to the visual indication 725 and / or based on a state of the virtual object 710, as will be further explained herein.

[0238] In some embodiments, a virtual object that is pinned to a surface is harder to move that an unpinned virtual object. In Fig. 7H, virtual object 710 is pinned to wall 708. Snapping threshold distance 732 is shown in overhead view 770. In addition, unpinning threshold distance 734 is shown. Unpinning threshold distance 734 represents the threshold magnitude that an input to move the pinned virtual object 710 away from the wall 708 must814927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)exceed in order to move virtual object 710 from the wall 708 (e.g., to unsnap and / or unpin the virtual object 710). In the example of FIG. 7H, unpinning threshold distance 734 is shown as a semi-circle because it represents a distance from the pinned location of the virtual object 710. Further, unpinning threshold distance 734 is greater than the snapping threshold distance 732, indicating that greater movement is required to unpin virtual object 710 from wall 708 than to pin virtual object 710 to wall 708.

[0239] In Fig. 71, the computer system 101 detects an input corresponding to a request to move virtual object 710 in the three-dimensional environment 702 away from wall 708 (e.g., in the left direction from the viewpoint of user 706). The input is directed to the pinned virtual object 710. In particular, the input includes an air pinch gesture performed by a hand 706b of the user 706 while attention of the user (e.g., based on gaze 706a) is directed to the pinned virtual object 710, followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by hand 706b of the user. Indication 715 illustrates the location in the three-dimensional environment 702 that corresponds to the input detected by the computer system 101, which is away from the location of the pinned virtual object 710 against wall 708 (e.g., indication 715 represents the location where the user’s hand 706b has sought to move the virtual object 710). Indication 715 is shown as being within the unpinning threshold distance 734 from the virtual object 710. In response to detecting the input corresponding to the request to move the pinned virtual object away from the wall, and in response to determining that the input corresponding to the request to move the pinned virtual object 710 away from the wall is less than a threshold magnitude (e.g., less than unpinning threshold distance 734), the computer system 101 forgoes moving the pinned virtual object 710 in the three-dimensional environment 702 away from wall 708 (e.g., forgoes unpinning the virtual object 710 from wall 708). The computer system 101 therefore does not move the virtual object 710 when the input (e.g., as shown by the location of indication 715) is less than the threshold distance 734 for moving the pinned virtual object 710.

[0240] In Fig. 7K, the computer system 101 detects an input from hand 706b (e.g., an air pinch while gaze 706a is directed to virtual object 710 followed by movement of hand 706b in a direction away from wall 708) corresponding to a request to move virtual object 710 in the three-dimensional environment 702 away from wall 708 (e.g., in the left direction from the viewpoint of user 706). This time, the magnitude of the input exceeds the unpinning threshold distance 734, as shown by the location of indication 715. In response to detecting824927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the input corresponding to the request to move the pinned virtual object away from the wall, and in response to determining that the input corresponding to the request to move the pinned virtual object 710 away from the wall is greater than the threshold magnitude (e.g., greater than unpinning threshold distance 734), the computer system 101 moves the pinned virtual object 710 in the three-dimensional environment 702 away from wall 708. Additionally, the computer system 101 moves the virtual object 710 in accordance with the input (e.g., by a distance corresponding to the input), as shown by the concurrent locations of the indication 715 and the virtual object 710 in the three-dimensional environment.

[0241] In some embodiments, the one or more snapping criteria are based on a size of the object relative to a size of the surface. In Fig. 7L, the computer system 101 displays virtual object 710 in the three-dimensional environment 702. The three-dimensional environment 702 includes a pillar 721 having a pillar surface 723. Unlike wall 708, which is significantly wider than virtual object 710, pillar surface 723 is significantly narrower than the virtual 710 (e.g., a size of the virtual object 710 (e.g., a dimension and / or an area) is greater than a size of the pillar surface 723). Overhead view 770 further shows a snapping threshold distance 732 for pillar surface 723. Virtual object 710 is displayed as free-floating in the three-dimensional environment 702 and at some distance from pillar surface 723 (e.g., not in contact with pillar surface 723).

[0242] In Fig. 7M, the computer system 101 detects an input corresponding to a request to move virtual object 710 in the three-dimensional environment 702 toward pillar surface 723 (e.g. toward to the right side from the viewpoint of user 706). The input is directed to grabber bar 722b of the virtual object 710. In particular, the input includes an air pinch gesture performed by a hand 706b of the user 706 while attention of the user (e.g., based on gaze 706a) is directed to the grabber bar 722b, followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by hand 706b of the user.

[0243] In response to detecting the input, computer system 101 moves the virtual object 710 in the three-dimensional environment 702 in accordance with the first input to be in proximity to pillar surface 723. As previously established, in accordance with a determination that the virtual object 710 is a pinnable object and that the virtual object 710 satisfies one or more snapping criteria, the computer system 101 pins a virtual object 710 to a surface, and in accordance with a determination that the virtual object 710 is a pinnable object and that the virtual object 710 does not satisfy the one or more snapping criteria, the computer system 101 forgoes pinning the virtual object 710 to the surface. As previously834927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)established, virtual object 710 is a pinnable object (e.g., able to be pinned to a surface by the computer system). As shown in the overhead view 770 of Fig. 7M, virtual object 710 satisfies the distance criterion of the one or more snapping criteria because the virtual object is located at less than the threshold distance 732 from the pillar surface 723. However, as shown by time bar 724 of Fig. 7M, the virtual object 710 does not satisfy the timing criterion, as the duration 724a of the virtual object 710 within the threshold distance 732 has yet to exceed the threshold duration 724b. Accordingly, the computer system forgoes pinning the virtual object 710 to the pillar surface 723.

[0244] In Fig. 7N, the virtual object 710 satisfies the timing criterion of the one or more snapping criteria as the duration 724a of the virtual object 710 within the threshold distance 732 exceeds the threshold duration 724b. The virtual object 710 also satisfies the distance criterion, being within the threshold distance 732 of the pillar surface 723.However, the virtual object fails to satisfy a size criterion of the one or more snapping criteria (e.g., the size criterion that is satisfied when a size of the virtual object 710 is less than a threshold size relative to a size of the surface in the three-dimensional environment 702). For example, in Figs. 7L-7N, the threshold size is 100% of the size of the surface (e.g., the same size as the size of the surface), which means that the size criterion is satisfied when a size of the virtual object 710 is less than a size of the surface (e.g., less than 100% of the size of the surface). As shown in overhead view 770 of Fig. 7N, a width of the virtual object 710 is not less than a width of the pillar surface 723. Accordingly, the size criterion is not satisfied. In accordance with a determination that the virtual object 710 is a pinnable object and that the virtual object 710 does not satisfy the one or more snapping criteria (e.g., the size criterion because the virtual object 710 is wider than the pillar surface 723), the computer system 101 forgoes pinning the virtual object 710 to the surface. In Fig. 7N, the virtual object 710 does not automatically snap and / or pin to the pillar surface 723 despite the end of the input corresponding to the request to move the virtual object (e.g., to proximity of the pillar surface 723). Instead, the virtual object 710 remains free-floating at the location in the three-dimensional environment 702 where the input left the virtual object 710.

[0245] In some embodiments, the one or more criteria are based on a type of surface. In particular, the one or more snapping criteria include a criterion (e.g., a surface criterion) that is satisfied when a surface type (e.g., the type of surface) of the surface is a first surface type. For example, as previously described, wall 708 is a vertical wall and therefore a first type of surface. Accordingly, the computer system 101 is able to pin the virtual object 710 to844927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)wall 708 (e.g., provided one or more other criteria are satisfied, such as the distance criterion, the timing criterion, and / or the size criterion). Further, the surface criterion is not satisfied when the surface type of the surface is a second surface type (e.g., a horizontal surface), different from the first surface type (e.g., a vertical surface).

[0246] In Fig. 70, virtual object 710 is displayed in the three-dimensional environment 702. Unlike the virtual object shown and described in Figs. 7A-7N, the virtual object 710 of Fig. 70 is a second type of virtual object (e.g., a three-dimensional object 716 such as a virtual teddy bear), different from the first type of virtual object (e.g., a two-dimensional object such as a user interface object 712A). Virtual object 710 of the second type includes or more system controls elements, such as close button 722a and grabber bar or handle 722b, and that the computer system 101 displays concurrently with virtual object 710. The three-dimensional environment 702 further includes a table 727 (e.g., which is a representation of table of the real-world environment 700) having a tabletop 728. Tabletop 728 is a horizontal surface, and therefore a second type of surface, different from the first type of surface (e.g., a vertical surface such as wall 708). Additionally, tabletop 728 has a snapping threshold distance 728a as shown in front views 771 of Figs. 7O-7V, which include respective front views 771 of the physical and / or three-dimensional environment s) associated with system 101 that indicate the positions of various objects in the environments in a vertical dimension and a horizontal dimension. Virtual object 710 (e.g., of second object type) is displayed as free-floating in the three-dimensional environment 702 and at some distance from tabletop 728 (e.g., not in contact with tabletop 728).

[0247] In Fig. 7P, the computer system 101 detects an input corresponding to a request to move virtual object 710 (e.g., of second object type) in the three-dimensional environment 702 (e.g., down toward tabletop 728). The input is directed to grabber bar 722b of the virtual object 710. In particular, the input includes an air pinch gesture performed by a hand 706b of the user 706 while attention of the user (e.g., based on gaze 706a) is directed to the grabber bar 722b, followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by hand 706b of the user. In response to detecting the input, computer system 101 moves the virtual object 710 (e.g., of second object type) in the three-dimensional environment 702 downward toward tabletop 728 (e.g., the second surface type) in accordance with the first input, and past the snapping threshold distance 732 of tabletop 728. Accordingly, the distance criterion (e.g., of the one or more snapping criteria) is satisfied because the virtual object 710 is less than a threshold distance 728a from tabletop854927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)728. However, the timing criterion is not satisfied, since the amount of time 724a that the virtual object 710 has been within the threshold distance 732 is less than threshold time 724b.

[0248] In Fig. 7Q, the amount of time 724a that the virtual object has been within the threshold distance of the tabletop 728 exceeds the threshold 724b, thus satisfying the timing criterion of the one or more snapping criteria. In addition, as previously described, the distance criterion is satisfied because the virtual object is closer to tabletop 728 than the threshold distance 732. As a result of meeting the one or more snapping criteria (e.g., the distance criterion and the timing criterion) and in accordance with the determination that the virtual object 710 (e.g., of second object type) is pinnable (e.g., as previously described), computer system 101 snaps the virtual object 710 to tabletop 728. The virtual object 710 is moved without user input (e.g., automatically) to a location against the tabletop 728, as indicated by the fact that indication 715 corresponding to the location corresponding to the input has stayed in place while the virtual object has moved down to rest on the tabletop 728.

[0249] In Fig. 7R, the computer system 101 pins the virtual object 710 to tabletop 728. computer system 101 pins the virtual object 710 to tabletop 728 as a result of meeting the one or more snapping criteria (e.g., the distance criterion and the timing criterion) and in accordance with the determination that the virtual object 710 of the second object type is pinnable (e.g., as previously described. The computer system pins the virtual object 710 when the computer system 101 detects that the input corresponding to the request to move the virtual object 710 (e.g., toward the tabletop 728) has ended (e.g., with a de-pinch of the hand 706b in the user, as shown in Fig. 7G).

[0250] As with the virtual object 710 of the first type (e.g., user interface 712), a visual appearance of the virtual object 710 changes when the virtual object 710 is pinned to a surface (e.g., tabletop 728). For example, in Fig. 7R, the computer system 101 displays a virtual shadow 726 (e.g., a drop shadow 726b) associated with the virtual object 710 when the virtual object 710 is pinned to tabletop 728. The computer system displays a drop shadow in this case instead of a contact show in reference virtual object 710 of the first object type (e.g., user interface 712) because the virtual object 710 of the second object type is pinned to a surface of the second surface type (e.g., a horizontal surface such as tabletop 728). In addition, the computer system 101 ceases display of the one or more system controls elements associated with the virtual object 710, such as close button 722a and grabber bar or handle 722b that were displayed concurrently with the unpinned virtual object in Figs. 70-7Q, as well as the visual indication 725 that the virtual object 710 is pinned to a surface.864927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0251] In Fig. 7S, the computer system 101 detects an input corresponding to a request to move virtual object 710 (e.g., of second object type) in the three-dimensional environment 702 (e.g., upward from tabletop 728). The input is directed to grabber bar 722b of the virtual object 710. In particular, the input includes an air pinch gesture performed by a hand 706b of the user 706 while attention of the user (e.g., based on gaze 706a) is directed to the grabber bar 722b, followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by hand 706b of the user. As the magnitude of the input exceeds the unpinning threshold distance 728b, in response to detecting the input, computer system 101 moves the pinned virtual object 710 up from tabletop 728 in the three-dimensional environment 702.

[0252] In Fig. 7T, the computer system 101 has moved the virtual object 710 toward the wall 708 (e.g., in response to the input corresponding to the request to move virtual object 710 in the three-dimensional environment). As shown in top view 770, virtual object 710 (e.g., of the second object type) is less than the threshold distance 732 from the wall 708, and therefore satisfies the distance criterion.

[0253] In Fig. 7U, the duration 724a of the virtual object within the threshold distance of the wall 708 exceeds the threshold duration 724b, thus satisfying the timing criterion of the one or more snapping criteria. In addition, as previously described, the distance criterion is satisfied because the virtual object is closer to wall 708 than the threshold distance 734. However, the surface criterion is not satisfied when virtual object 710 is of the second object type and the surface type of the surface is a first surface type (e.g., a vertical surface).Accordingly, as shown in Fig. 7V, where virtual object remains unpinned at the same location after de-pinch, computer system 101 forgoes pinning the virtual object 710 to the wall 708.

[0254] In some embodiments, the one or more criteria are based on an angle of the virtual object relative to the surface. In particular, the one or more snapping criteria include a criterion (e.g., an angle criterion) that is satisfied when an angle (e.g., orientation) of the virtual object 710 relative to the surface is less than a threshold angle. In Fig. 7W, a series of overhead views 770A-770D illustrates the angle criterion. In the example of FIG. 7W, the threshold angle, which is the angle below which the angle criterion is satisfied (e.g., the angle below which virtual object 710 can pin to wall 708), is 30 deg (e.g., relative to wall 708). In view 770A, virtual object 710 is displayed in the three-dimensional environment 702. In view 770B, virtual object 710 is moved to sufficient proximity to the wall 708 such that the874927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)distance criterion and the timing criterion are satisfied. However, the virtual object 710 is at an angle 35 deg relative to a wall 708. Since the angle of the virtual object 710 (e.g., 35 deg) is greater than the threshold angle (e.g., 30 deg), the angle criterion is not satisfied.Accordingly, the computer system 101 forgoes snapping and / or pinning the virtual object 710 to wall 708. In view 770C, virtual object 710 is displayed in the three-dimensional environment 702. In view 770D, virtual object 710 is moved to sufficient proximity to the wall 708 such that the distance criterion and the timing criterion are satisfied. In addition, the virtual object 710 is at an angle of 25 deg relative to a wall 708. Since the angle of the virtual object 710 (e.g., 25 deg) is less than the threshold angle (e.g., 30 deg), the angle criterion is satisfied. Accordingly, the computer system 101 snaps and / or pins the virtual object 710 to wall 708. In some embodiments, virtual objects that are snapped to the same surface snap to each other. In Fig. 7X, virtual object 710 and virtual object 710C are displayed in the three-dimensional environment. While virtual object 710 is displayed as free-floating in the three-dimensional environment, virtual object 710C is pinned to wall 708.

[0255] In Fig. 7Y, the computer system 101 detects an input corresponding to a request to move virtual object 710 in the three-dimensional environment 702 to wall 708. The input is directed to grabber bar 722b of the virtual object 710. In particular, the input includes an air pinch gesture performed by a hand 706b of the user 706 while attention of the user (e.g., based on gaze 706a) is directed to the grabber bar 722b, followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by hand 706b of the user. In response to the detecting the input corresponding to the request to move the virtual object 710 to the wall 708, virtual object 710 is moved to within sufficient proximity to the wall 708 such that the distance criterion (e.g., less than the threshold distance 732) and the timing criterion (e.g., duration 724a greater than threshold duration 724b) are satisfied.

[0256] In Fig. 7Z, in accordance with a determination that the one or more snapping criteria (e.g., distance criterion and / or time criterion) are satisfied, the computer system 101 pins the virtual 710 to the wall 708. Further, in accordance with a determination that the first virtual object (e.g., virtual object 710) and the second virtual object (e.g., virtual object 710C) satisfy one or more second snapping criteria including a criterion that is satisfied when a distance between first virtual object 710 and the second virtual object 710C is less than a threshold distance, the computer system 101 snaps the first virtual object 710 to the second virtual object 710C while the first virtual object 710 and the second virtual object 710C remain pinned to the first surface in the three-dimensional environment 702. In particular,884927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)computer system 101 snapping virtual object 710 to the second virtual object 710C includes automatically moving the first virtual object 710, second virtual object 710C, or both first virtual object 710 and second virtual object 710C to close the gap between the virtual objects 710 and 710C and align the virtual objects 710 and 710C. In some embodiments, the first virtual object 710 is aligned with the second virtual object 710C when a side and / or surface of the first virtual object 710 is within a threshold orientation (e.g., a threshold angle, such as 0.1, 0.5, 1, 3, 5, 10 or 30 degrees) of being parallel to an orientation of a side and / or surface of second virtual object 710C. In Fig. 7Z, the distance between pinned virtual object 710 and pinned virtual object 710C is less than threshold distance 711. As a result, as shown in Fig.7AA, virtual object 710 and the virtual object 710C snap to each other while remaining pinned against wall 708. In particular, virtual object 710 moves automatically to close the gap and align with virtual object 710C. In some embodiments, virtual object 710C moves to snap to virtual object 710. In some embodiments, both virtual objects move to snap to each other while remaining pinned to wall 708. In some embodiments, in accordance with a determination that the first virtual object 710 and the second virtual object 710C do not satisfy the one or more second snapping criteria, the computer system 101 forgoes snapping the first virtual object to the second virtual object 710C while the first virtual object 710 and the second virtual object 710C remain pinned to the surface (e.g., wall 708) in the three-dimensional environment 702.

[0257] Figure 8 illustrates a flow diagram for a method in which a computer system pins virtual objects to surfaces in a three-dimensional environment, in accordance with some embodiments of the disclosure. In some embodiments, the method 800 is performed at a computer system (e.g., computer system 101 in Fig. 1 A such as a tablet, smartphone, wearable computer, or head mounted device) including a display generation component (e.g., display generation component 120 in Figs. 1, 3, and 4) (e.g., a heads-up display, a display, a touchscreen, and / or a projector) and one or more cameras (e.g., a camera (e.g., color sensors, infrared sensors, and other depth-sensing cameras) that points downward at a user’s hand or a camera that points forward from the user’s head). In some embodiments, the method 800 is governed by instructions that are stored in a non-transitory computer-readable storage medium and that are executed by one or more processors of a computer system, such as the one or more processors 202 of computer system 101 (e.g., control unit 110 in Fig. 1 A). Some operations in method 800 are, optionally, combined and / or the order of some operations is, optionally, changed.894927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0258] In some embodiments, a method 800 is performed at a computer system, such as computer system 101 in Fig. 7A, in communication with one or more display generation components, such as display generation component 120 in Figs. 7A, and one or more input devices. For example, a mobile device (e.g., a tablet, a smartphone, a media player, or a wearable device), or a computer or other electronic device. In some embodiments, the one or more display generation components are one or more displays integrated with the computer system or electronic device (optionally a touch screen display), external display such as a monitor, projector, television, or a hardware component (optionally integrated or external) for projecting a user interface or causing a user interface to be visible to one or more users. In some embodiments, the one or more input devices include an electronic device or component capable of detecting a user input (e.g., capturing a user input, and / or detecting a user input.) and transmitting information associated with the user input to the computer system.Examples of input devices include a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), remote control device (e.g., external), another mobile device (e.g., separate from the computer system), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor, an eye tracking device, and / or a motion sensor (e.g., a hand tracking device, a hand motion sensor), and / or microphone for capturing voice commands or other audio input. In some embodiments, the computer system is in communication with a hand tracking device (e.g., one or more cameras, depth sensors, proximity sensors, touch sensors (e.g., a touch screen, trackpad)). In some embodiments, the hand tracking device is a wearable device, such as a smart glove. In some embodiments, the hand tracking device is a handheld input device, such as a remote control or stylus.

[0259] In some embodiments, while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, such as virtual object 710 in Fig. 7A (e.g., a virtual environment and / or a representation of a physical environment of a user of the computer system), wherein the three-dimensional environment includes a first surface, such as wall 708 in Fig. 7A, the computer system 101 detects (802a), via one of the one or more input devices, a first input corresponding to a request to move the first virtual object in the three-dimensional environment, such as the input from hand 706b in Fig. 7B corresponding to a request to move virtual object 710 in three-dimensional environment 702. In some embodiments, the three-dimensional environment, generated, displayed, or otherwise made viewable by the computer system, is perceptible from the904927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)viewpoint of the user. In some embodiments, the three-dimensional environment is generated, displayed, or otherwise caused to be viewable by the computer system. For example, the three-dimensional environment is optionally an extended reality (XR) environment, such as a virtual reality (VR) environment, a mixed reality (MR) environment, an augmented reality (AR) environment, or an augmented virtuality (AV) environment. In some embodiments, the three-dimensional environment is a simulated and / or virtual three-dimensional environment. In some embodiments, the three-dimensional environment includes a simulated and / or virtual three-dimensional environment that is displayed within the three-dimensional environment, optionally instead of representations of a physical environment (e.g., full immersion) or optionally concurrently with a representation of the physical environment (e.g., partial immersion), such as described in more detail with reference to method 1200.

[0260] In some embodiments, the three-dimensional environment includes one or more virtual objects and / or representations of objects in a physical environment of a user of the computer system, such as shown in Fig. 7A with virtual object 710 in the three-dimensional environment 702. In some embodiments, a virtual object is a user interface element displayed in the three-dimensional environment such as a user interface of an application (e.g., a browser, a media player, a productivity application, among other examples) or a widget. In some embodiments, the first virtual object is a non-interface object. In some embodiments, the first virtual object is based at least in part on a real -world object, such as a table, a cup, a shoe, or a tree. In some embodiments, the first virtual object has an object type. In some embodiments, the three-dimensional environment includes a first surface. The first surface is optionally one of a plurality of surfaces displayed throughout the three-dimensional environment. For example, the first surface is optionally a surface of a feature of the three-dimensional environment such as a floor, a wall, a ceiling, a boulder, or a tree trunk. In some embodiments, the first surface is optionally a surface of a virtual object in the three-dimensional environment, such as a tabletop, a door, or a shelf. In some embodiments, the first surface is a virtual surface (e.g., a surface rendered by the computer system and that doesn’t correspond to a surface in the physical environment or a real-world surface). In some embodiments, the first surface is physical surface (e.g., a surface of a real object and / or real -world environment). In some embodiments, the first surface has a surface type. For example, the surface type of the first surface is optionally horizontal, or oblique or914927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)inclined. In some embodiments, the surface type of the first surface is flat or curved. In some embodiments, the first surface has more than one surface type.

[0261] In some embodiments, the first input includes an input directed to the first virtual object, such as input from hand 706b of the user directed to virtual object 710, as shown in Fig. 7B. In some embodiments, the first input includes an air gesture (e.g., air pinch or air tap) directed to the first virtual object. For example, the first input optionally includes a selection input (e.g., an air pinch gesture) while attention of the user (e.g., based on gaze) is directed to the first virtual object. In some embodiments, the first input includes a movement input corresponding to a request to move the first virtual object in the three-dimensional environment. For example, the movement input optionally corresponds to a request to move the first virtual object from a current location in the three-dimensional environment to a location in proximity to (e.g., within a threshold distance of) or at the first surface in the three-dimensional environment. The movement input optionally includes attention of the user (e.g., based on a gaze) directed to the first virtual object followed by an air gesture performed by one or more hands of the user (e.g., an air pinch gesture), followed by a drag gesture (e.g., a movement) while the air pinch is maintained and performed by the one or more hands of the user. In some embodiments, the movement input is directed to a grabber bar and / or handle associated with the first virtual object (e.g., displayed adjacent to the first virtual object). For example, the computer system optionally detects attention of the user (e.g., based on gaze) directed to a grabber bar and / or handle associated with the first virtual object, followed by an air pinch gesture directed to the grabber bar and / or handle, and a drag gesture while the air pinch is maintained (e.g., while the user has grabbed the grabber bar and / or handled). In some embodiments, the first input includes contact by a stylus or a finger against a touch sensitive input device (e.g., a touch screen) and / or an input received from an input device in communication with the computer system such as a mouse and / or a trackball and directed to the first virtual object (optionally the grabber bar and / or handle) in the three-dimensional environment, followed by a drag gesture to the first surface in the three-dimensional environment.

[0262] In some embodiments, in response to detecting the first input, the computer system moves (802b) the first virtual object in the three-dimensional environment in accordance with the first input, such as shown with the computer system 101 moving the virtual object 710 in three-dimensional environment 702 in Figs. 7B-7D. the computer system optionally moves the first virtual object from its current location in the three-dimensional924927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)environment to the location in proximity to (e.g., within a threshold distance of) or at the first surface in the three-dimensional environment (e.g., according to the drag gesture). For example, the computer system optionally moves the first virtual object in the three-dimensional environment in accordance with the movement of the hand of the user (e.g., according to the drag gesture). In some embodiments, the movement of the first virtual object in the three-dimensional environment is in accordance with a magnitude of the movement of the hand of the user. For example, the computer system optionally moves the first virtual object in the three-dimensional environment by a distance corresponding to a distance of the movement of the hand of the user. In some embodiments, the movement of the first virtual object in the three-dimensional environment in accordance with a direction of the movement of the hand of the user. For example, the computer system optionally moves the first virtual object in the same (or corresponding) direction in the three-dimensional environment as a direction of the movement of the hand of the user.

[0263] In some embodiments, in response to detecting the first input, in accordance with a determination that the first virtual object is able to be pinned to the first surface and meets one or more snapping criteria, such as a distance criterion represented by threshold distance 732 and a timing criterion represented by threshold duration 724b in Figs. 7C-7G, the computer system pins (802c) the first virtual object to the first surface of the three-dimensional environment (e.g., in response to detecting an end of the first input such as a depinch or other release input), wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface, such as in Figs. 7F-7G where the computer system 101 pins virtual object 710 to the wall 708. In some embodiments, whether a virtual object is able to be pinned to a surface in the three-dimensional environment (e.g., a pinnable object or pinnable virtual object) is a property of the virtual object (e.g., separate from input directed to the virtual object and / or a relative location of the virtual object relative to a surface and / or separate from the one or more snapping criteria). Accordingly, the determination that the first virtual object is able to be pinned optionally includes a determination of a property of the first virtual object (e.g., a pinning property). In some embodiments, the pinning property is defined or set by an application associated with the first virtual object. For example, if the first virtual object is a browser user interface, the pinning property of the browser user interface (e.g., whether the browser user interface is able to be pinned or not) is optionally set by the browser application that controls display of the browser user interface. In some embodiments, the pinning934927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)property is based on an object type of the first virtual object. For example, a widget is optionally always able to be pinned. In some embodiments, the pinning property of the first virtual object is user-defined. For example, the computer system optionally provides (e.g., displays as part of a user interface) a selectable option (e.g., a toggle element) for controlling the pinning property of the first virtual object. In some embodiments, the pinning property includes one or more properties described above. For example, the first virtual object (e.g., a browser user interface) is optionally a pinnable virtual object because the application that controls display of the first virtual object (e.g., a browser application) has set the first virtual object to be pinnable as a result of receiving user input setting the pinning property of the first virtual object.

[0264] In some embodiments, the one or more snapping criteria include one or more criteria used by the computer system to determine whether the first virtual object can be snapped to the first surface in the three-dimensional environment. In some embodiments, the one or more snapping criteria include snapping criteria related to proximity of the first virtual object to the first surface, a size of the first virtual object and / or the first surface, the object type of the first virtual object, and movement of the first virtual object, among other criteria, for example. For example, a snapping criterion is optionally met when the first virtual object is located within a threshold distance (e.g., 0.01, 0.05, 0.1, 0.5, 1, 2, 3, 5, 10 or 50 cm) from the first surface and / or when a side and / or a surface of the first virtual object is positioned within a threshold orientation (e.g., a respective surface of the first virtual object is within a threshold angle, such as 1, 10, 30, 45 or 60 degrees) of being parallel with the first surface in the three-dimensional environment, among other snapping criteria.

[0265] In some embodiments, when the one or more snapping criteria are met, the computer system snaps the first virtual object to the first surface in the three-dimensional environment, such snapping the virtual object 710 to wall 708 in Fig. 7F in accordance with a determination that virtual object 710 is within less threshold distance 732 from wall 708. Snapping the first virtual object to the first surface optionally includes aligning the first virtual object with the first surface such that a side and / or a surface of the first virtual object is flush with the first surface in the three-dimensional environment. In some embodiments, the first virtual object is aligned with the first surface when a side and / or surface of the first virtual object is within a threshold distance (e.g., 0.01, 0.1., 0.5, 1, 3, 5 or 10 cm) of the first surface and / or when a side and / or surface of the first virtual object is within a threshold orientation (e.g., a threshold angle, such as 0.1, 0.5, 1, 3, 5, 10 or 30 degrees) of being944927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)parallel to an orientation of the first surface. Accordingly, snapping the first virtual object to the first surface optionally includes translating the first virtual object from a current location in the three-dimensional environment to a location within the threshold distance of the first surface in the three-dimensional environment and / or rotating the first virtual object from a current orientation in the three-dimensional environment to an orientation within the threshold orientation from the first surface in the three-dimensional environment. In some embodiments, snapping the first virtual object to the first surface includes the computer system moving the first virtual object from a location in proximity to the first surface (e.g., less than a threshold distance of the first surface) and / or orientation from the first surface (e.g., less than a threshold angle), where the computer system had moved the first virtual object in response to the first input, to align the first virtual object with the first surface, without detecting additional user input (e.g., and / or not in response to the detection of additional user input). In other words, when the one or more snapping criteria are satisfied, the computer system optionally moves the first virtual object automatically to align the first virtual object with the first surface (e.g., to snap the first virtual object to the first surface) in the three-dimensional environment.

[0266] In some embodiments, the computer system snaps the first virtual object to the first surface during (e.g., while detecting) the first input (e.g., the request to move the first virtual object) and / or while the first input is in progress (e.g., before termination of the first input is detected, such as before the computer system 101 detects the fingers of the hand 706b of the user release the air pinch hand shape in Fig. 7F). For example, the computer system optionally snaps the first object to the first surface during movement on a touch sensitive surface (e.g., by a hand, finger, and / or stylus, such as while the hand, finger and / or stylus are touching the touch-sensitive surface) and / or during an air gesture (e.g., by one or more hands of the user, such as while the one or more hands of the user are maintaining the air gesture used for the first input). In some embodiments, the computer system snaps the first virtual object to the first surface when (e.g., in response to detecting that) first input has ended and / or after the first input, such as if in Fig. 7F, the computer system detects hand 706b releasing the air pinch and in response snaps the virtual object 710 to wall 708. For example, the computer system optionally snaps the first virtual object to the first surface in accordance with detecting that movement (e.g., of a finger and / or stylus on the touch-sensitive surface or of an air gesture) has stopped (e.g., for a threshold duration such as 0.1, 0.2, 0.3, 0.5, 0.8, or Is) and / or that a lift off from a touch-sensitive surface (e.g., for a threshold duration such as954927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)0.1, 0.2, 0.3, 0.5, 0.8, or Is) has occurred and / or that the hand of the user has released an air gesture. In some embodiments, in accordance with the determination that the first virtual object meets one or more snapping criteria, the computer system pins the first virtual object to the first surface (e.g., as described below).

[0267] In some embodiments, when the one or more snapping criteria are met and the computer system has optionally snapped the first virtual object to the first surface in the three-dimensional environment, the computer system pins the first virtual object to the first surface in the three-dimensional environment, such as computer system 101 pinning virtual object 710 to wall 708 in Fig. 7G. In some embodiments, the first virtual object pinned to the first surface behaves like a real-world object (e.g., a physical object) that is secured, locked, or affixed to the first surface with a simulated fixing or locking method (e.g., a simulated adhesive and / or nails). Accordingly, in some embodiments, the pinned first virtual object behaves differently in response to movement input and / or is displayed differently in response to changes in the perspective of the user than an unpinned first virtual object, as will be further described. For example, the first virtual object pinned to the first surface is optionally harder to move from a current location of the object (e.g., a location on the first surface) than an object that is not pinned to a surface. Accordingly, in some embodiments, greater movement is required to move the pinned first virtual object from a current location that an unpinned first virtual object. In some embodiments, the pinned first virtual object does not move in response to movement input directed to it, such as the movement required to move virtual object 710 away from wall 708 in Figs. 7J-7K.

[0268] In some embodiments, in accordance with the determination that the first virtual object meets one or more snapping criteria, the computer system pins the first virtual object to the first surface of the three-dimensional environment without snapping the first virtual object to the first surface, such as virtual object 710 being pinned to wall 708 in Fig.7F. In some embodiments, and in accordance with the determination that the first virtual object meets one or more snapping criteria, the computer system forgoes snapping the first virtual object to the first surface and instead pins the first virtual object to the first surface if the first virtual object is a pinnable object (e.g., an object that has been designated by the application and / or user as an object that can be pinned to a surface).

[0269] In some embodiments, meeting the one or more snapping criteria is insufficient to pin the first virtual object to the first surface. Instead, in addition to the determination that the one or more snapping criteria are satisfied, the computer system pins964927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the first virtual object to the first surface in accordance with a determination that one or more pinning criteria are satisfied. For example, the one or more pinning criteria optionally include a criterion that is satisfied when the first virtual object is in proximity to the first surface for more than a threshold amount of time (e.g., 0.1, 0.2, 0.3, 0.5, 0.8, 1, 1.5, or 2s) that is greater than the threshold amount of time (e.g., 0.1, 0.2, 0.3, 0.5, 0.8, or Is) required for snapping the first virtual object to the first surface (e.g., when the user hovers the first virtual object in proximity to or at the first surface longer than the time required to snap the first virtual object to the first surface), such as time 724a exceeding threshold 724b in Fig. 7G.

[0270] In some embodiments, in response to detecting the first input, in accordance with the determination that the first virtual object is able to be pinned to the first surface and does not meet the one or more snapping criteria, such as the distance criterion represented by threshold distance 732 in Fig. 7C or the timing criterion represented by threshold duration 724b in Figs. 7D, the computer system forgoes (802d) pinning the first virtual object to the first surface of the three-dimensional environment, such as in Fig. 7D. In some embodiments, the first virtual object does not meet the one or more snapping criteria because the computer system has moved the first virtual object in response to the first input but did not move the first virtual object sufficiently close to the first surface (e.g., within a threshold distance). In some embodiments, the first virtual object does not meet the one or more snapping criteria because the computer system has moved the first virtual object in response to the first input but did not align the first virtual object with the first surface (e.g., within a threshold orientation of the being parallel to an orientation of the first surface). Accordingly, in some embodiments, the computer system forgoes pinning the first virtual object to the first surface because the user has not hovered the first virtual object sufficiently close to the first surface or in sufficient alignment with the first surface. In some embodiments, the computer system snaps the first virtual object to the first surface in the first three-dimensional environment without pinning the first virtual object to the first surface. In some embodiments, the computer system forgoes snapping the first virtual object to the first surface in the first three-dimensional environment and does not pin the first virtual object to the first surface. In some embodiments, the unpinned first virtual object behaves differently in response to movement input and / or is displayed differently in response to changes in the viewpoint of the user than a pinned first virtual object, as will be further described. For974927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)example, the unpinned first virtual object optionally moves in response to movement input directed to it.

[0271] Pinning a virtual object to a surface in the three-dimensional environment by moving the virtual object in response to the first input such that one or more snapping criteria are met (e.g., in sufficient proximity to and / or and alignment with the first surface and / or for a threshold duration) provides a simple and efficient way to pin the virtual object (e.g., a movement input) to the surface, which simplifies the user interface, facilitates the use of the computer system, enhances the operability of the computer system and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the computer system by enabling the user to use the computer system more quickly and efficiently.

[0272] In some embodiments, the computer system detects, via the one or more input devices, a second input corresponding to a request to move the first virtual object in the three-dimensional environment, such as the input from hand 706b corresponding to the request to move virtual object 710 in Fig. 71. In some embodiments, the second input includes an input directed to the first virtual object. In some embodiments, the second input includes a movement input corresponding to a request to move the first virtual object in the three-dimensional environment from a first location to a second location different than the first location. In some embodiments, the movement input is directed to the first virtual object. In some embodiments, the second input includes contact by a stylus or a finger against a touch sensitive input device (e.g., a touch screen) and / or an input received from an input device in communication with the computer system such as a mouse and / or a trackball and directed to the first virtual object (in the three-dimensional environment, followed by a drag gesture.

[0273] In some embodiments, in response to detecting the second input, in accordance with a determination that the first virtual object is pinned to the first surface, the computer system forgoes moving the first virtual object in the three-dimensional environment in accordance with the second input, such as the computer system 101 forgoing moving pinned virtual object 710 away from wall 708 in the three-dimensional environment 702 as shown in Fig. 71. Accordingly, the pinned first virtual object does not move in response to the second input directed to the first virtual object (e.g., input to move the first virtual object). In some embodiments, the second input (e.g., the movement input) corresponding to the request to move the pinned virtual object in the three-dimensional environment has a direction, and in accordance with a determination that the second input satisfies one or more984927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)unpinning criteria, including an unpinning criterion that requires the direction of the second input to be away from the first surface (e.g., within a threshold angle from the surface), the computer system moves the first virtual object in the first three-dimensional environment. In some embodiments, the computer system moves the first virtual object in the three-dimensional environment according to the direction of the second input (e.g., away from the first surface), thus unpinning the first virtual object from the first surface. In some embodiments, the one or more unpinning criteria include an unpinning criterion that requires that a magnitude of the second input exceeds a threshold magnitude to be satisfied. In some embodiments the unpinning criteria shares one or more characteristics with the unsnapping behavior described with respect to method 1600.

[0274] In some embodiments, in response to the second input, in accordance with a determination that the first virtual object is not pinned to the first surface, the computer system moves the first virtual object in the three-dimensional environment in accordance with the second input, such as the computer system 101 moving unpinned virtual object 710 in the three-dimensional environment 702 as shown in Figs. 7C and 7D. For example, the computer system optionally moves the first virtual object in the three-dimensional environment in accordance with the movement of the hand of the user (e.g., according to the air gesture). In some embodiments, the movement of the first virtual object in the three-dimensional environment is in accordance with a magnitude of the movement of the hand of the user. For example, the computer system optionally moves the first virtual object in the three-dimensional environment by a distance corresponding to a distance of the movement of the hand of the user. In some embodiments, the movement of the first virtual object in the three-dimensional environment in accordance with a direction of the movement of the hand of the user. For example, the computer system optionally moves the first virtual object in the same (or corresponding) direction in the three-dimensional environment as a direction of the movement of the hand of the user. In some embodiments, moving the first virtual object in the three-dimensional environment in accordance with the second input has one or more characteristics of moving the first virtual object in the three-dimensional environment in accordance with the first input.

[0275] Moving the first virtual object in response to the second input when the first virtual object is unpinned while forgoing moving the first virtual object when the first virtual object is pinned provides an indication to a user that a virtual object has been pinned, which minimizes user errors associated with interacting with pinned objects, thus reducing power994927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)usage and improving battery life of the computer system by avoiding additional inputs that would otherwise be needed to correct the user errors.

[0276] In some embodiments, the second input includes an air gesture directed to the first virtual object, such as the air gesture from hand 706b as shown in Fig. 71. In some embodiments an air gesture refers to a gesture that is performed by a hand and / or one or more fingers of the user and / or one or more portions of the user. For example, the second input optionally includes an air pinch gesture that is performed while attention of the user (e.g., based on gaze) is directed to the first virtual object. In some embodiments, the air gesture includes an air pinch gesture followed by a movement of the hand that performed the air pinch gesture while the air pinch is maintained.

[0277] Moving the first virtual object in response to the air gesture when the first virtual object is unpinned while forgoing moving the first virtual object when the first virtual object is pinned ensures that the pinned first virtual object remain in the location where the first virtual object is pinned to the first surface despite user input to move the first virtual object, which facilitates the use of the computer system, enhances the operability of the computer system and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the computer system by enabling the user to use the computer system more quickly and efficiently.

[0278] In some embodiments, the second input includes a recentering input, such as if the input by hand 706b in Fig. 71 were a recentering input. In some embodiments, a recentering input corresponds to a request to move the first virtual object (and other virtual objects) in the three-dimensional environment so that the first virtual object is closer to a center of a viewport of the user, and to orient the first virtual object with respect to a current viewpoint of the user (e.g., the viewpoint of the user at the time that the recentering input was detected). Accordingly, in accordance with a determination that the first virtual object is pinned to the first surface, the computer system optionally forgoes moving the first virtual object in the three-dimensional environment so that the first virtual object is closer to a center of a viewport of the user and / or orienting the first virtual object with respect to the current viewpoint in the three-dimensional environment in response to the second input, and in accordance with a determination that the first virtual object is not pinned to the first surface, the computer system moves the first virtual object in the three-dimensional environment so that the first virtual object is closer to the center of the viewport of the user and / or orients the first virtual object with respect to the current viewpoint in the three-dimensional environment1004927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with the second input. In some embodiments, moving the first virtual object includes, in accordance with a determination that a viewpoint of the user of the computer system when the recentering input is detected is a first viewpoint relative to a frame of reference, displaying, via the one or more display generation components, the first virtual object at a first location in the three-dimensional environment, and in accordance with a determination that the viewpoint of the user of the computer system when the recentering input is detected is a second viewpoint relative to the frame of reference, different from the first viewpoint, displaying, via the one or more display generation components, the first virtual content item at a second location, different from the first location, in the three-dimensional environment. In some embodiments, orienting the first virtual object includes, in accordance with a determination that a viewpoint of the user of the computer system when the recentering input is detected is a first viewpoint relative to a frame of reference, displaying, via the one or more display generation components, the first virtual object with a first orientation relative to the frame of reference in the three-dimensional environment, and in accordance with a determination that the viewpoint of the user of the computer system when the recentering input is detected is a second viewpoint relative to the frame of reference, different from the first viewpoint, displaying, via the one or more display generation components, the first virtual content item with a second orientation relative to the frame of reference, different from the first orientation, in the three-dimensional environment. In some embodiments, the recentering input is detected via a one or more the one or more input devices (e.g., a mechanical button associated with the computer system in some embodiments). Additionally or alternatively, the recentering input is also directed to one or more user interfaces or other interactive content window that are also displayed within the three-dimensional environment. In some embodiments, the recenter input includes an express user input corresponding to a request to arrange (e.g., recenter) virtual objects (e.g., including the first virtual object), a determination that one or more criteria are satisfied relative to the current viewpoint, the virtual object(s), and / or the three-dimensional environment, and / or an automatic requesting of the arranging (e.g., recentering) of the virtual objects. In some embodiments, the recentering input is directed to the first virtual object. In some embodiments, the recentering input includes contact of a portion of the user’s body on a surface of the one or more input devices (e.g., a touch sensitive surface) detected by the computer system, an air gesture (e.g., an air pinch gesture including contacting of the user’s fingers, an air swiping gesture including movement of the user’s finger(s) and / or hand(s), an air de-pinch of the user’s fingers (e.g., movement of the user’s fingers and / or finger tips away1014927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)from each other), and / or an air pointing gesture including a pointing of a finger) optionally while attention (e.g., based on gaze) is directed to a respective virtual object or a position in the environment not including virtual content, an actuation of a physical and / or virtual button, and / or movement and / or selections of selectable options (e.g., buttons) detected by the computer system at the one or more input devices, such as a stylus or other pointing device. In some embodiments, the recentering input includes actuation of a rotatable button (e.g., part of the one or more input devices) that is on the computer system. In some embodiments, the recentering input includes actuation of the rotatable button for longer than a threshold amount of time (e.g., 0.1, 0.5, 1, 3, 5, or 10 seconds).

[0279] Orienting the first virtual object with respect to the current viewpoint in response to the second input that includes a recentering input when the first virtual object is unpinned while forgoing orienting the first virtual object with respect to the current viewpoint in response to the second input when the first virtual object is pinned helps to ensure that the pinned first virtual object remain in the location where the first virtual object is pinned to the first surface despite user input to orient the first virtual object, which facilitates the use of the computer system, enhances the operability of the computer system and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the computer system by enabling the user to use the computer system more quickly and efficiently.

[0280] In some embodiments, pinning the first virtual object to the first surface occurs in response to detecting that the first input has ended, such as shown in Fig. 7G where the computer system 101 pins the virtual object 710 to wall 708 after de-pinch by hand 706b. For example, the computer system optionally pins the first virtual object to the first surface in accordance with detecting that movement (e.g., of a finger and / or stylus on the touch-sensitive surface or of an air gesture) has stopped (e.g., for a threshold duration such as 0.1, 0.2, 0.3, 0.5, 0.8, or Is). Additionally or alternatively, the computer system optionally pins the first virtual object to the first surface in accordance with detecting that a lift off from a touch-sensitive surface (e.g., for a threshold duration such as 0.1, 0.2, 0.3, 0.5, 0.8, or Is) has occurred. Additionally or alternatively, the computer system optionally pins the first virtual object to the first surface in accordance with detecting that the hand of the user has released an air gesture (e.g., that was included in the first input). In some embodiments, the computer system does not pin the first virtual object the first surface in the three-dimensional environment before the first input has ended (e.g., while the computer system detects the first1024927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)input and / or while the first input is ongoing). For example, the computer system does not pin the first virtual object to the first surface while detecting movement and / or contact (e.g., of a finger and / or stylus on the touch-sensitive surface or of an air gesture), and / or air gesture that the hand of the user has not released.

[0281] Pinning the virtual object to the first surface in accordance with detecting that the first input has ended ensures that the first virtual object is pinned when and where the user intends the object to be pinned (e.g., which accuracy), which facilitates the use of the computer system, enhances the operability of the computer system and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the computer system by enabling the user to use the computer system more quickly and efficiently.

[0282] In some embodiments, the one or more snapping criteria include a criterion that is satisfied when the first virtual object is less than a threshold distance (e.g., 0.01, 0.05, 0.1, 0.5, 1, 2, 3, 5, 10 or 50 cm) from the first surface in the three-dimensional environment, such as in Fig. 7E where the distance criterion is satisfied when the virtual object 710 is less than threshold distance 732 from wall 708. (e.g., as a result of the computer system moving the first virtual object near the first surface in response to the first input). In some embodiments, the criterion is satisfied when a side and / or an edge of the first virtual object is less than the threshold distance from the first surface. In some embodiments, the criterion is satisfied when a center (e.g., a center of gravity and / or a center of mass) of the first virtual object is less than the threshold distance from the first surface. In some embodiments, in accordance with a determination that the criterion that is satisfied when the first virtual object is less than a threshold distance from the first surface in the three-dimensional environment is not satisfied, the computer system forgoes pinning the first virtual object to the first surface of the three-dimensional environment. In some embodiments, the criterion is not satisfied when the first virtual object is located at a distance equal or greater to the threshold distance from the first surface in the three-dimensional environment. In some embodiments, the criterion is not satisfied when a side and / or an edge of the first virtual object is located at distance equal or greater than the threshold distance from the first surface. In some embodiments, the criterion is not satisfied when a center (e.g., a center of gravity and / or a center of mass) of the first virtual object is located at distance equal or greater than the threshold distance from the first surface.1034927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)

[0283] Pinning the first virtual object when the virtual object is less than a threshold distance from the first surface ensures that the virtual object is pinned when the user commits to pinning the first virtual object by bringing the first virtual object sufficiently close to the first surface, which helps prevent inadvertently pinning the virtual object and / or reduces instances of erroneous pinning (which thus require unpinning), which facilitates the use of the computer system, enhances the operability of the computer system and makes the user-device interface more efficient, which additionally reduces power usage and improves battery life of the computer system by enabling the user to use the computer system more quickly and efficiently.

[0284] In some embodiments, the one or more snapping criteria include a criterion that is satisfied when a size of the first virtual object is less than a threshold size relative to a size of the first surface in the three-dimensional environment, such as in Figs 7E-7G where a width of virtual object 710 is less than a width of wall 708, and is not satisfied when the size of the first virtual object is more than the threshold size relative to the size of the first surface in the three-dimensional environment, such as in Fig. 7L-7N where the width of virtual object 710 is more than a width of pillar 721. In some embodiments, the criterion is satisfied when a dimension of the first virtual object (e.g., a length, a width, a diagonal, a diameter, and / or a circumference) is less than a threshold dimension (e.g., 75, 80, 90, 100, 110, 125, 150, 200, 300%) relative to a dimension of the first surface in the three-dimensional environment. In some embodiments, the criterion is satisfied when an area of the first virtual object is less than a threshold area (e.g., 75, 80, 90, 100, 110, 125, 150, 200, 300%) relative to an area of the first surface in the three-dimensional environment. For example, if the threshold area is 125% of the area of the first surface, when the area of the surface of the first virtual object (e.g., the surface that abuts against the first surface) is less than 125% of the area of the first surface, the criterion is optionally satisfied, whereas when the area of the first virtual object is equal to or greater than 125% of the area of the first surface, the criterion is optionally not satisfied. In some embodiments, the size of the first surface is the available size of the first surface, such a...

Claims

Attorney Docket No. 106842243540 (P70352WO1)CLAIMSWhat is claimed is:

1. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, wherein the three-dimensional environment includes a first surface, detecting, via one of the one or more input devices, a first input corresponding to a request to move the first virtual object in the three-dimensional environment; andin response to detecting the first input, moving the first virtual object in the three-dimensional environment in accordance with the first input, and:in accordance with a determination that the first virtual object is able to be pinned to the first surface and meets one or more snapping criteria, pinning the first virtual object to the first surface of the three-dimensional environment, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with the determination that the first virtual object is able to be pinned to the first surface and does not meet the one or more snapping criteria, forgoing pinning the first virtual object to the first surface of the three-dimensional environment.

2. The method of claim 1, further comprising:detecting, via the one or more input devices, a second input corresponding to a request to move the first virtual object in the three-dimensional environment; and in response to detecting the second input:in accordance with a determination that the first virtual object is pinned to the first surface, forgoing moving the first virtual object in the three-dimensional environment in accordance with the second input, andin accordance with a determination that the first virtual object is not pinned to the first surface, moving the first virtual object in the three-dimensional environment in accordance with the second input.5614927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)3. The method of any of claims 1-2, wherein the second input includes an air gesture directed to the first virtual object.

4. The method of any of claims 1-3, wherein the second input includes a recentering input.

5. The method of any of claims 1-4, wherein pinning the first virtual object to the first surface occurs in response to detecting that the first input has ended.

6. The method of any of claims 1-5, wherein the one or more snapping criteria include a criterion that is satisfied when the first virtual object is less than a threshold distance from the first surface in the three-dimensional environment.

7. The method of any of claims 1-6, wherein the one or more snapping criteria include a criterion that is satisfied when a size of the first virtual object is less than a threshold size relative to a size of the first surface in the three-dimensional environment and is not satisfied when the size of the first virtual object is more than the threshold size relative to the size of the first surface in the three-dimensional environment.

8. The method of any of claims 1-7, wherein the one or more snapping criteria include a criterion that is satisfied when a surface type of the first surface is a first surface type and is not satisfied when the first surface is a second surface type that is different from the first surface type.

9. The method of any of claims 1-8, wherein:the one or more snapping criteria are satisfied when an object type of the virtual first object is a first object type, and a surface type of the first surface is a first surface type;the one or more snapping criteria are satisfied when an object type of the virtual first object is a second object type, different from the first object type, and a surface type of the first surface is the first surface type; andthe one or more snapping criteria are not satisfied when the object type of the first virtual object is the second object type and the surface type of the first surface is a second surface type, different from the first surface type.5624927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)10. The method of claim 9, wherein the one or more snapping criteria are satisfied when the object type of the first object is the first object type and the surface type of the first surface is a second surface type.

11. The method of any of claims 1-10, wherein the one or more snapping criteria include one or more movement criteria that are satisfied based on a comparison of movement of the first virtual object in the three-dimensional environment to one or more movement thresholds.

12. The method of claim 11, wherein the one or more snapping criteria include a respective criterion that is satisfied when one or more of the snapping criteria other than the respective criterion are satisfied for longer than a first threshold duration, and wherein the method further comprises:in response to detecting the first input and in accordance with a determination that the one or more of the snapping criteria other than the respective criterion are satisfied for less than the first threshold duration, snapping the first virtual object to the first surface without pinning the first virtual object to the first surface in the three-dimensional environment.

13. The method of any of claims 1-12, wherein the one or more snapping criteria include a criterion that is satisfied when an angle of the first virtual object relative to the first surface is less than a threshold angle.

14. The method of any of claims 1-13, further comprising:in response to detecting the first input and in accordance with the determination that the first virtual object meets the one or more snapping criteria, changing, via the one or more display generation components, a visual appearance of the first virtual object from a first visual appearance to a second visual appearance, different from the first visual appearance.

15. The method of claim 14, wherein the first visual appearance includes a first degree of transparency, and the second visual appearance includes a second degree of transparency, less than the first degree of transparency.5634927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)16. The method of any of claims 14 -15, wherein, after moving the first virtual object in accordance with the first input, the first virtual object is in spatial conflict with an object in the three-dimensional environment, and wherein:the first visual appearance includes a first depth mitigation level, and the second visual appearance includes a second depth mitigation level, different from the first depth mitigation level.

17. The method of any of claims 14-16, wherein changing the visual appearance of the first virtual object from the first visual appearance to the second visual appearance includes displaying, via the one or more display generation components, a virtual shadow corresponding to the first virtual object.

18. The method of claim 17, wherein the virtual shadow is a contact shadow.

19. The method of any of claims 17-18, wherein the virtual shadow is a drop shadow.

20. The method of any of claims 17-19, wherein:the virtual shadow has a shadow type; anddisplaying the virtual shadow includes:in accordance with a determination that the first surface is a first surface type, displaying, via the one or more display generation components, the virtual shadow as a shadow of a first shadow type, andin accordance with a determination that the first surface is a second surface type, different from first surface type, displaying, via the one or more display generation components, the virtual shadow as a shadow of a second shadow type, different from the first shadow type.

21. The method of any of claims 14-20, wherein changing the visual appearance of the first virtual object from the first virtual appearance to the second visual appearance comprises changing an appearance of one of more system controls interface elements associated with the first virtual object.

22. The method of any of claims 14-21, wherein changing the visual appearance of the first virtual object from the first virtual appearance to the second visual appearance comprises5644927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)displaying, via the one or more display generation components, a visual indication that the first virtual object is pinned to the first surface.

23. The method of any of claims 1-22, wherein the first virtual object is in spatial conflict with an object in the three-dimensional environment prior to being pinned to the first surface and after being pinned to the first surface, and wherein the method further comprises:prior to pinning the first virtual object to the first surface, applying a first set of occlusion rules to the displaying of the first virtual object; andafter pinning the first virtual object to the first surface, applying a second set of occlusion rules to the first virtual object, different from the first set of occlusion rules.

24. The method of any of claims 1-23, including:detecting, via the one or more input devices, a respective input corresponding to a request to move a respective virtual object; andin response to detecting the respective input corresponding to the request to move the respective virtual object:in accordance with a determination that the respective virtual object is a first type of object, and the request to move the respective object corresponds to a request to move the respective virtual object in a way that meets respective criteria that require that the respective virtual object is within a threshold distance of the first surface in order for the respective criteria to be met, pinning the respective object to the first surface; andin accordance with a determination that the respective virtual object is the first type of object, and the request to move the respective object corresponds to a request to move the respective object in a way that does not meet the respective criteria because the respective object is not within the threshold distance of a surface, displaying, via the one or more display generation components, the respective object as an unpinned virtual object.

25. The method of claim 24, further comprising, in response to detecting the respective input corresponding to the request to move the respective object:in accordance with a determination that the respective virtual object is a second type of object that is different from the first type of object, and the request to move the respective object corresponds to a request to move the respective virtual object in a way that meets respective criteria that require that the respective virtual object is within a threshold distance5654927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)of the first surface in order for the respective criteria to be met, pinning the respective object to the first surface; andin accordance with a determination that the respective virtual object is the second type of object, and the request to move the respective object corresponds to a request to move the respective virtual object in a way that does not meet the respective criteria because the respective object is not within the threshold distance of the first surface, forgoing displaying, via the one or more display generation components, the respective virtual object as an unpinned user interface object in the three-dimensional environment.

26. The method of any of claims 24-25, further comprising, in response to detecting the respective input corresponding to the request to move the respective object:in accordance with a determination that the respective object is a third type of object that is different from the first type of object and the second type of object, and the request to move the respective object corresponds to a request to move the respective object in a way that meets respective criteria that require that the respective object is within a threshold distance of a surface in order for the respective criteria to be met, displaying, via the one or more display generation components, the respective object as an unpinned user interface object; andin accordance with a determination that the respective object is the second type of object, and the request to move the respective object corresponds to a request to move the respective object in a way that does not meet the respective criteria because the respective object is not within the threshold distance of a surface, displaying, via the one or more display generation components, the respective object as an unpinned user interface object.

27. The method of any of claims 1-25, wherein a second virtual object is pinned to the first surface, and wherein pinning the first virtual object to the first surface of the three-dimensional environment includes:in accordance with a determination that the first virtual object and the second virtual object satisfy one or more second snapping criteria including a criterion that is satisfied when a distance between first virtual object and the second virtual object is less than a threshold distance, snapping the first virtual object to the second virtual object while the first virtual object and the second virtual object remain pinned to the first surface in the three-dimensional environment; and5664927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the first virtual object and the second virtual object do not satisfy the one or more second snapping criteria, forgoing snapping the first virtual object to the second virtual object while the first virtual object and the second virtual object remain pinned to the first surface in the three-dimensional environment.

28. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, wherein the three-dimensional environment includes a first surface, detecting, via one of the one or more input devices, a first input corresponding to a request to move the first virtual object in the three-dimensional environment; andin response to detecting the first input, moving the first virtual object in the three-dimensional environment in accordance with the first input, and:in accordance with a determination that the first virtual object is able to be pinned to the first surface and meets one or more snapping criteria, pinning the first virtual object to the first surface of the three-dimensional environment, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with the determination that the first virtual object is able to be pinned to the first surface and does not meet the one or more snapping criteria, forgoing pinning the first virtual object to the first surface of the three-dimensional environment.

29. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:5674927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, wherein the three-dimensional environment includes a first surface, detecting, via one of the one or more input devices, a first input corresponding to a request to move the first virtual object in the three-dimensional environment; andin response to detecting the first input, moving the first virtual object in the three-dimensional environment in accordance with the first input, and:in accordance with a determination that the first virtual object is able to be pinned to the first surface and meets one or more snapping criteria, pinning the first virtual object to the first surface of the three-dimensional environment, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with the determination that the first virtual object is able to be pinned to the first surface and does not meet the one or more snapping criteria, forgoing pinning the first virtual object to the first surface of the three-dimensional environment.

30. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, wherein the three-dimensional environment includes a first surface, detecting, via one of the one or more input devices, a first input corresponding to a request to move the first virtual object in the three-dimensional environment; andmeans for in response to detecting the first input, moving the first virtual object in the three-dimensional environment in accordance with the first input, and:in accordance with a determination that the first virtual object is able to be pinned to the first surface and meets one or more snapping criteria, pinning the first virtual object to the first surface of the three-dimensional environment, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; and5684927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with the determination that the first virtual object is able to be pinned to the first surface and does not meet the one or more snapping criteria, forgoing pinning the first virtual object to the first surface of the three-dimensional environment.

31. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 1-27.

32. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 1-27.

33. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 1-27.

34. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment, via the one or more input devices, a first input directed to the virtual object in the three-dimensional environment; andin response to detecting the first input directed to the virtual object:in accordance with a determination that the virtual object is pinned to a first surface of the three-dimensional environment, displaying a visual indication that the virtual object is pinned to the first surface, wherein an object that is pinned to a surface is5694927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with a determination that the virtual object is not pinned to the first surface of the three-dimensional environment, forgoing displaying the visual indication that the virtual object is pinned to the first surface.

35. The method of claim 34, further comprising:while displaying the visual indication that the virtual object is pinned to the first surface, wherein the visual indication has a first visual appearance, detecting attention of the user directed to the visual indication; andin response to detecting the attention of the user directed to the visual indication, changing a visual appearance of the visual indication from the first visual appearance to a second visual appearance, different from the first visual appearance.

36. The method of any of claims 34-35, further comprising:while displaying the virtual object in the three-dimensional environment, detecting, via the one or more input devices, a second input directed to the virtual object; andin response to detecting the second input directed to the virtual object:in accordance with a determination that the virtual object is pinned to the first surface of the three-dimensional environment, forgoing moving the virtual object in accordance with the second input; andin accordance with a determination that the virtual object is not pinned to the first surface of the three-dimensional environment, moving the virtual object in the three-dimensional environment in accordance with the second input directed to the virtual object.

37. The method of any of claims 34-36, further comprising:while the virtual object is not pinned to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the virtual object with a first system user interface element corresponding to the virtual object, wherein displaying the visual indication that the virtual object is pinned to the first surface includes ceasing display of the system user interface element corresponding to the virtual object.

38. The method of claim 37, wherein the system user interface element comprises an object movement handle.5704927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)39. The method of any of claims 37-38, wherein the system user interface element comprises an object close affordance.

40. The method of any of claims 37-39, further comprising:while displaying the visual indication that the virtual object is pinned to the first surface:detecting, via the one or more input devices, a second input directed to the visual indication; andin response to detecting the second input directed to the visual indication, displaying, via the one or more display generation components, the system user interface element.

41. The method of claim 40, further comprising:in response to displaying the system user interface element, ceasing display of the visual indication that the virtual object is pinned to the first surface.

42. The method of claim 41, further comprising:in response to detecting a second input directed to the visual indication, displaying, via the one or more display generation components, an animation of a transition from displaying the visual indication to displaying the system user interface element.

43. The method of any of claims 34-42, wherein detecting the first input comprises detecting, via the one or more input devices, attention of a user of the computer system directed to the virtual object.

44. The method of any of claims 34-43, wherein detecting the first input comprises detecting an air gesture directed to the virtual object.

45. The method of claim 44, further comprising:in response to detecting the first input directed to the virtual object and in accordance with the determination that the virtual object is not pinned to the first surface of the three-dimensional environment, displaying, via the one or more display generation components, a system user interface element corresponding to the virtual object.5714927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)46. The method of any of claims 34-45, wherein:displaying, via the one or more display generation components, the virtual object prior to detecting the first input includes displaying a system user interface element corresponding to the virtual object; anddisplaying the visual indication that the virtual object is pinned to the first surface in response to the first input directed to the virtual object comprises:displaying, via the one or more display generation components, the virtual object snapped to the first surface; andin conjunction with displaying the virtual object snapped to the first surface:ceasing display of the system user interface element; and displaying, via the one or more display generation components, the visual indication that the virtual object is pinned to the first surface.

47. The method of claim 46, further comprising:while displaying the visual indication that the virtual object is pinned to the first surface in response to detecting the first input, detecting, via the one or more input devices, termination of the first input; andin response to detecting termination of the first input, changing, via the one or more display generation components, a visual appearance of the visual indication from a first visual appearance, that was displayed in response to detecting the first input, to a second visual appearance, different from the first visual appearance.

48. The method of claim 47, wherein the first visual appearance includes displaying an unlocked lock indicator, and wherein changing the visual appearance of the visual indication from the first visual appearance to the second visual appearance comprises:changing the unlocked lock indicator to a locked indicator in response to detecting the termination of the first input.

49. The method of any of claims 34-48, further comprising:while the virtual object is pinned to the first surface of the three-dimensional environment and while displaying the visual indication that the first object is pinned to the first surface, detecting, via the one or more input devices, a second input directed to the virtual object; and5724927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in response to detecting the second input and in accordance with a determination that one or more criteria are satisfied, moving the virtual object along the first surface in accordance with the second input, while maintaining display of the visual indication that the virtual object is pinned to the first surface.

50. The method of claim 49, further comprising:in response to detecting the second input directed to the virtual object and in accordance with a determination that the one or more criteria are not satisfied because the second input includes movement corresponding to a request to move the virtual object away from the first surface by more than a threshold distance, moving the virtual object in accordance with the second input and ceasing display of the visual indication that the virtual object is pinned .

51. The method of any of claims 34-50, further comprising:while the virtual object is not pinned to a surface in the three-dimensional environment and while the virtual object is displayed with a system user interface element, detecting, via the one or more input devices, a second input directed to the system user interface element associated with the virtual object; andin response to detecting the second input directed to system user interface element the system user interface element, displaying, via the one or more display generation components, an option to pin the virtual object to the first surface.

52. The method of any of claims 34-51, wherein displaying the visual indication includes displaying, via the one or more display generation components, a virtual shadow of the virtual object on the first surface.

53. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:5734927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment, via the one or more input devices, a first input directed to the virtual object in the three-dimensional environment; andin response to detecting the first input directed to the virtual object:in accordance with a determination that the virtual object is pinned to a first surface of the three-dimensional environment, displaying a visual indication that the virtual object is pinned to the first surface, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with a determination that the virtual object is not pinned to the first surface of the three-dimensional environment, forgoing displaying the visual indication that the virtual object is pinned to the first surface.

54. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment, via the one or more input devices, a first input directed to the virtual object in the three-dimensional environment; andin response to detecting the first input directed to the virtual object:in accordance with a determination that the virtual object is pinned to a first surface of the three-dimensional environment, displaying a visual indication that the virtual object is pinned to the first surface, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with a determination that the virtual object is not pinned to the first surface of the three-dimensional environment, forgoing displaying the visual indication that the virtual object is pinned to the first surface.

55. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;5744927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)memory; andmeans for while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment, via the one or more input devices, a first input directed to the virtual object in the three-dimensional environment; andmeans for in response to detecting the first input directed to the virtual object:in accordance with a determination that the virtual object is pinned to a first surface of the three-dimensional environment, displaying a visual indication that the virtual object is pinned to the first surface, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; and in accordance with a determination that the virtual object is not pinned to the first surface of the three-dimensional environment, forgoing displaying the visual indication that the virtual object is pinned to the first surface.

56. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 34-52.

57. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 34-52.

58. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 34-52.

59. A method comprising5754927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)at a computer system in communication with one or more display generation components and one or more input devices:detecting a first event that causes a first object to be in spatial conflict with a virtual object in a three-dimensional environment that is visible via the one or more display generation components; andin response to detecting the first event:in accordance with a determination that the virtual object meets one or more respective criteria, including a criterion that requires that the virtual object is pinned to a surface in the three-dimensional environment to be satisfied, displaying, via the one or more display generation components, a first type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the first object and the virtual object, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with a determination that the virtual object fails to meet the one or more respective criteria, displaying, via the one or more display generation components, a second type of visual effect, different from the first type of visual effect, in the three-dimensional environment corresponding to the spatial conflict between first object and the virtual object.

60. The method of claim 59, wherein displaying the first type of visual effect comprises:displaying a portion of the first object corresponding to the spatial conflict in the three-dimensional environment; andforgoing display of a portion of the virtual object.

61. The method of any of claims 59 and 60, wherein displaying the second type of visual effect comprises:displaying the portion of the virtual object corresponding to the spatial conflict with a first degree of visual prominence in the three-dimensional environment.

62. The method of claim 61, wherein displaying the portion of the virtual object corresponding to the spatial conflict with the first degree of visual prominence includes displaying, via the one or more display generation components, the portion of the virtual object corresponding to the spatial conflict as visually deemphasized relative to a portion of5764927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the virtual object not corresponding to the spatial conflict in the three-dimensional environment.

63. The method of any of claims 61 and 62, wherein the portion of the virtual object corresponding to the spatial conflict is displayed with the first degree of visual prominence in accordance with a determination that a current focus is not directed to the virtual object, the method further comprising:while displaying the portion of the virtual object with the first degree of visual prominence, determining that the current input focus is directed to the virtual object; and in response to determining that the current input focus is directed to the virtual object, displaying, via the one or more display generation components, the portion of the virtual object corresponding to the spatial conflict with a second degree of visual prominence, greater than the first degree of visual prominence in the three-dimensional environment.

64. The method of any of claims 59-63, wherein:the first object is a virtual three-dimensional environment;the first event corresponds to display of the virtual three-dimensional environment within the three-dimensional environment;displaying the virtual three-dimensional environment in response to the detecting the request causes the virtual three-dimensional environment to be in spatial conflict with the virtual object;displaying the first type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the virtual three-dimensional environment and the virtual object includes displaying, via the one or more display generation components, the portion of the virtual three-dimensional environment corresponding to the spatial conflict without displaying the portion of the virtual object corresponding to the spatial conflict, and displaying the second type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the virtual three-dimensional environment and the virtual object includes displaying, via the one or more display generation components, the portion of the virtual object corresponding to the spatial conflict without displaying the portion of the virtual three-dimensional environment corresponding to the spatial conflict.5774927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)65. The method of any of claims 59-64, wherein the one or more respective criteria are satisfied when a state of the virtual object is a first state and the one or more criteria are not satisfied when the state of the virtual object is a second state, different from the first state.

66. The method of claim 65, wherein the state of the virtual object includes a selection state of the virtual object, and wherein the first state is that the virtual object is selected and the second state is that the virtual object is not selected.

67. The method of claim 66, wherein displaying the virtual object includes:in accordance with a determination that the virtual object is selected, displaying, via the one or more display generation components, one or more controls associated with the virtual object concurrently with the virtual object; andin accordance with a determination that the virtual object is not selected, displaying, via the one or more display generation components, the virtual object without displaying the one or more controls associated with the virtual object.

68. The method of any of claims 65-67, wherein the state of the virtual object includes an edit state of the virtual object, and wherein the first state is when the virtual object is in an edit state and the second state is when the virtual object is not in an edit state.

69. The method of any of claims 65-68, wherein the state of the virtual object includes whether a system user interface element associated with the virtual object is displayed in the three-dimensional environment, and wherein the first state includes display of the system user interface element and the second state does not include display of the system user interface element.

70. The method of any of claims 65-69, further comprising:while displaying, via the one or more display generation components, the virtual object with the first type of visual effect corresponding to the spatial conflict between the first object and the virtual object, detecting a second event that causes the computer system to change the state of the virtual object, andin response to detecting the second event, displaying, via the one or more display generation components, the second type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the first object and the virtual object.5784927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)71. The method of any of claims 65-70, further comprising:while displaying, via the one or more display generation components, the virtual object with the second type of visual effect, corresponding to the spatial conflict between the first object and the virtual object, detecting a third event that causes the computer system to change the state of the virtual object, andin response to detecting the third event, displaying, via the one or more display generation components, the virtual object with the first type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the first object and the second object.

72. The method of any of claims 59-71, wherein the one or more respective criteria are satisfied when the virtual object is a first type of object and the one or more respective criteria are not satisfied when the virtual object is a second type of object, different from the first type of object.

73. The method of any of claims 59-72, further comprising:displaying, via the one or more display generation components, a virtual three-dimensional environment within the three-dimensional environment; andin accordance with a determination that the first event is a change in immersion level of the virtual three-dimensional environment that causes the first object to be in spatial conflict with the virtual object in the three-dimensional environment and the determination that the virtual object meets the one or more respective criteria, changing, via the one or more display generation components, a visual prominence of the virtual object in the three-dimensional environment, andin accordance with a determination that the first event is a change in immersion level of the virtual three-dimensional environment that causes the first object to be in spatial conflict with the virtual object in the three-dimensional environment and the determination that the virtual object fails to meet the one or more respective criteria, forgoing changing the visual prominence of the virtual object in the three-dimensional environment.

74. The method of claim 73, wherein:changing the visual prominence of the virtual object includes obscuring a portion of the virtual object by a portion of the virtual three-dimensional environment, wherein the5794927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)portion of the virtual object is in spatial conflict with the portion of the virtual three-dimensional environment, andforgoing changing the visual prominence of the virtual object includes obscuring the portion of the virtual three-dimensional environment by the portion of the virtual object.

75. The method of any of claims 59-74, further comprising:while at least a portion of the virtual object is obscured by the first object in accordance with the determination that the virtual object meets the one or more respective criteria:detecting a breakthrough event corresponding to a location in the three-dimensional environment corresponding to the occluded portion of the virtual object; and in response to detecting the breakthrough event, increasing, via the one or more display generation components, a visual prominence of the at least the portion of the virtual object in the three-dimensional environment through the first object.

76. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:detecting a first event that causes a first object to be in spatial conflict with a virtual object in a three-dimensional environment that is visible via the one or more display generation components; andin response to detecting the first event:in accordance with a determination that the virtual object meets one or more respective criteria, including a criterion that requires that the virtual object is pinned to a surface in the three-dimensional environment to be satisfied, displaying, via the one or more display generation components, a first type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the first object and the virtual object, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; and5804927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the virtual object fails to meet the one or more respective criteria, displaying, via the one or more display generation components, a second type of visual effect, different from the first type of visual effect, in the three-dimensional environment corresponding to the spatial conflict between first object and the virtual object.

77. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:detecting a first event that causes a first object to be in spatial conflict with a virtual object in a three-dimensional environment that is visible via the one or more display generation components; andin response to detecting the first event:in accordance with a determination that the virtual object meets one or more respective criteria, including a criterion that requires that the virtual object is pinned to a surface in the three-dimensional environment to be satisfied, displaying, via the one or more display generation components, a first type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the first object and the virtual object, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with a determination that the virtual object fails to meet the one or more respective criteria, displaying, via the one or more display generation components, a second type of visual effect, different from the first type of visual effect, in the three-dimensional environment corresponding to the spatial conflict between first object and the virtual object.

78. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; and5814927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)means for detecting a first event that causes a first object to be in spatial conflict with a virtual object in a three-dimensional environment that is visible via the one or more display generation components; andmeans for in response to detecting the first event:in accordance with a determination that the virtual object meets one or more respective criteria, including a criterion that requires that the virtual object is pinned to a surface in the three-dimensional environment to be satisfied, displaying, via the one or more display generation components, a first type of visual effect in the three-dimensional environment corresponding to the spatial conflict between the first object and the virtual object, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with a determination that the virtual object fails to meet the one or more respective criteria, displaying, via the one or more display generation components, a second type of visual effect, different from the first type of visual effect, in the three-dimensional environment corresponding to the spatial conflict between first object and the virtual object.

79. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 59-75.

80. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 59-75.

81. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;5824927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)memory; andmeans for performing any of the methods of claims 59-75.

82. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while a first portion of a three-dimensional environment is visible via the one or more display generation components, detecting, via the one or more input devices, a sequence of one or more inputs that corresponds to a respective request to display, via the one or more display generation components, a respective virtual object that corresponds to a first virtual object that is an existing virtual object that is pinned to a first surface, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin response to detecting the sequence of one or more inputs that corresponds to the respective request, displaying, via the one or more display generation components, the respective virtual object that corresponds to the first virtual object, including:in accordance with a determination that the first virtual object meets one or more first criteria, unpinning the first virtual object from the first surface in conjunction with displaying an unpinned first virtual object as the respective virtual object; andin accordance with a determination that the first virtual object does not meet the one or more first criteria, maintaining the pinning of the first virtual object to the first surface in conjunction with displaying the unpinned first virtual object as the respective virtual object.

83. The method of claim 82, wherein the one or more first criteria include a requirement that the first virtual object is in the viewport of the user when the sequence of one or more inputs that corresponds to the respective request to display the respective virtual object is detected in order for the one or more first criteria to be satisfied.

84. The method of any one of claims 82-83, wherein:the one or more first criteria include a requirement that a user of the computer system and the first virtual object are located within a first room when the sequence of one or more5834927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)inputs that corresponds to the respective request to display the respective virtual object is detected in order for the one or more first criteria to be satisfied.

85. The method of any one of claims 82-84, wherein maintaining the pinning of the first virtual object to the first surface includes changing a visual emphasis of the first virtual object while the first virtual object is pinned to the first surface.

86. The method of any one of claims 82-85, wherein:the one or more first criteria include a requirement that the user of the computer system is located a same room as the pinned first virtual object, when the sequence of one or more inputs that corresponds to the respective request is detected in order for the one or more first criteria to be met, and in response to detecting the sequence of one or more inputs that corresponds to the respective request, in accordance with a determination that the first virtual object does not meet the one or more first criteria because the user of the computer system is located in a first room while the pinned first virtual object is located in a second room, the pinning of the first virtual object is maintained, wherein maintaining the pinning of the first virtual object includes maintaining pinning of the of the first virtual object in the second room while displaying the unpinned first virtual object as the respective virtual object in the first room.

87. The method of claim 86, further comprising:while the user of the computer system is located in the first room and the pinned first virtual object is located in a second room:in accordance with a determination that a viewpoint of the user satisfies one or more visibility criteria, displaying, via the one or more display generation components, the pinned first virtual object located in the first room within the three-dimensional environment; andin accordance with a determination that a viewpoint of the user does not satisfy one or more visibility criteria, forgoing display of the pinned first virtual object within the three-dimensional environment.

88. The method of any one of claims 86-87, further comprising:while displaying the first virtual object as the respective virtual object in the first room:5844927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)detecting one or more events (e.g., a sequence of one or more inputs directed to the respective virtual object) that correspond to a request to modify the unpinned first virtual object; andin response to detecting the one or more events that correspond to a request to modify the unpinned first virtual object:applying a first modification to the unpinned first virtual object based on the one or more events; andapplying the first modification to the pinned first virtual object in the second room.

89. The method of claim 88, wherein the first modification includes a change in a content displayed in the unpinned first virtual object.

90. The method of any one of claims 88-89, wherein the first modification includes a change in a navigation state of the unpinned first virtual object.

91. The method of any of claims 88-90, wherein the first modification includes a change in a size of the unpinned first virtual object.

92. The method of any one of claims 86-91, further comprising:while displaying the first virtual object as the respective virtual object in the first room:detecting a set of one or more inputs corresponding to a request to change a pose of the unpinned respective virtual object in the first room; andin response to detecting the set of one or more inputs corresponding to the request to change the pose of the unpinned respective virtual object in the first room, changing a pose of the unpinned respective virtual object in the first room based on the set of one or more inputs without changing a pose of the pinned first virtual object in the second room, detect an input and in response move the object.

93. The method of any one of claims 86-92, further comprising:detecting, via the one or more input devices, a first input directed to the unpinned first virtual object; and5854927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in response to detecting the first input, moving the unpinned first virtual object from a first location to a second location in the three-dimensional environment in accordance with the first input.

94. The method of claim 93, further comprising:in response to detecting the first input and in accordance with a determination that the second location meets one or more pinning criteria in the three-dimensional environment, including a criterion that is satisfied when the second location is within a threshold distance of the second surface in the three-dimensional environment, pinning the first virtual object to the second surface in the three-dimensional environment.

95. The method of any one of claims 93-94, further comprising:in response to detecting the first input and in accordance with a determination that the second location does not meet the one or more pinning criteria because the second location is greater than the threshold distance from a surface, forgoing pinning the first virtual object to a surface in the three-dimensional environment.

96. The method of any one of claims 82-95 wherein the sequence of one or more inputs comprises an application launch input.

97. The method of any one of claims 82-96, further comprising:while the unpinned respective virtual object is unpinned and the pinned first virtual object is pinned, detecting, via the one or more input devices, a recentering input; and in response to detecting the recentering input, recentering the unpinned respective virtual object to a current viewpoint of the user without recentering the pinned first virtual object in the three-dimensional environment.

98. The method of any one of claims 82-97, further comprising:while the first virtual object is pinned to a surface in a first room and has a first visual prominence and a second virtual object is displayed in the first room without being pinned to a surface and has a second visual prominence, detecting, via the one or more input devices, movement of a viewpoint of the user from the first room to a second room, different from the first room; and5864927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in response to detecting movement of the viewpoint of the user from the first room to the second room and while the viewpoint of the user satisfies one or more criteria:reducing, via the one or more display generation components, a visual prominence of the first virtual object from the first visual prominence by a first amount; and reducing, via the one or more display generation components, a visual prominence of the second virtual object from the second visual prominence by a second amount, less than the first amount.

99. The method of claim 98, wherein reducing the first visual prominence of the first virtual object by the first amount corresponds to ceasing display of the first virtual object.

100. The method of any one of claims 82-99, further comprising:while the first virtual object is pinned, and while a second virtual object is unpinned in the three-dimensional environment:detecting a recentering input; andin response to detecting a recentering input, recentering the second virtual object without recentering the first virtual object.

101. The method of any one of claims 82-100, further comprising:while a viewpoint of a user of the computer system is in a first room, and while displaying a second virtual object in the first room and while a third virtual object is in a second room, different from the first room, wherein the second virtual object and the third virtual object are associated with an application:detecting, via the one or more input devices, a request to close the application associated with the second virtual object and the third virtual object; andin response to detecting the request to close the application associated with the second virtual object and the third virtual object:ceasing display of the second virtual object in the first room; and closing the third virtual object in the second room;after display of the second virtual object and the third virtual object has ceased:detecting, via the one or more input devices, a request to re-open the application associated with the second virtual object and the third virtual object, while the user is in the first room; and5874927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in response to detecting the request to open the application associated with the second virtual object and the third virtual object while the user is in the first room, opening the third virtual object in the second room without displaying the second virtual object in the first room.

102. The method of any one of claims 82-101, wherein unpinning the first virtual object from the first surface includes displaying the unpinned first virtual object as the respective virtual object in a viewport of the user of the computer system.

103. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:while a first portion of a three-dimensional environment is visible via the one or more display generation components, detecting, via the one or more input devices, a sequence of one or more inputs that corresponds to a respective request to display, via the one or more display generation components, a respective virtual object that corresponds to a first virtual object that is an existing virtual object that is pinned to a first surface, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin response to detecting the sequence of one or more inputs that corresponds to the respective request, displaying, via the one or more display generation components, the respective virtual object that corresponds to the first virtual object, including:in accordance with a determination that the first virtual object meets one or more first criteria, unpinning the first virtual object from the first surface in conjunction with displaying an unpinned first virtual object as the respective virtual object; andin accordance with a determination that the first virtual object does not meet the one or more first criteria, maintaining the pinning of the first virtual object to the first surface in conjunction with displaying the unpinned first virtual object as the respective virtual object.5884927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)104. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:while a first portion of a three-dimensional environment is visible via the one or more display generation components, detecting, via the one or more input devices, a sequence of one or more inputs that corresponds to a respective request to display, via the one or more display generation components, a respective virtual object that corresponds to a first virtual object that is an existing virtual object that is pinned to a first surface, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin response to detecting the sequence of one or more inputs that corresponds to the respective request, displaying, via the one or more display generation components, the respective virtual object that corresponds to the first virtual object, including:in accordance with a determination that the first virtual object meets one or more first criteria, unpinning the first virtual object from the first surface in conjunction with displaying an unpinned first virtual object as the respective virtual object; andin accordance with a determination that the first virtual object does not meet the one or more first criteria, maintaining the pinning of the first virtual object to the first surface in conjunction with displaying the unpinned first virtual object as the respective virtual object.

105. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for, while a first portion of a three-dimensional environment is visible via the one or more display generation components, detecting, via the one or more input devices, a sequence of one or more inputs that corresponds to a respective request to display, via the one or more display generation components, a respective virtual object that corresponds to a first virtual object that is an existing virtual object that is pinned to a first surface, wherein an5894927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andmeans for, in response to detecting the sequence of one or more inputs that corresponds to the respective request, displaying, via the one or more display generation components, the respective virtual object that corresponds to the first virtual object, including:in accordance with a determination that the first virtual object meets one or more first criteria, unpinning the first virtual object from the first surface in conjunction with displaying an unpinned first virtual object as the respective virtual object; andin accordance with a determination that the first virtual object does not meet the one or more first criteria, maintaining the pinning of the first virtual object to the first surface in conjunction with displaying the unpinned first virtual object as the respective virtual object.

106. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 82-102.

107. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 82-102.

108. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 82-102.5904927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)109. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment:receiving a first input, via the one or more input devices, corresponding to a request to move the virtual object from a first location in the three-dimensional environment to a second location in the three-dimensional environment; andin response to receiving the first input:moving the virtual object from the first location toward the second location in accordance with the first input;in accordance with a determination that the virtual object at the second location satisfies one or more first snapping criteria for snapping the virtual object to a first surface that is a first type of surface, snapping the virtual object to the first surface using first positioning behavior; andin accordance with a determination that the object at the second location satisfies one or more second snapping criteria for snapping the object to the first surface that is a second type of surface, different from the first type of surface, snapping the object to the first surface using second positioning behavior different from the first positioning behavior.

110. The method of claim 109, further comprising:in response to receiving the first input:in accordance with a determination that the virtual object at the second location does not satisfy either the one or more first snapping criteria or the one or more second snapping criteria, forgoing snapping the virtual object to the first surface.

111. The method of claim 109 or 110, wherein:the first type of surface is a vertical surface; andthe second type of surface is a horizontal surface.

112. The method of any one of claims 109-111, wherein:5914927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)snapping the virtual object to the first surface using the first positioning behavior comprises:in accordance with a determination that an orientation of the virtual object relative to a first reference in the three-dimensional environment at the second location does not correspond to an orientation of the first surface relative to the first reference in the three-dimensional environment, applying a rotational adjustment to the virtual object when snapping the virtual object to the first surface such that the orientation of the virtual object relative to the first reference in the three-dimensional environment corresponds to the orientation of the first type of surface relative to the first reference in the three-dimensional environment when the virtual object is snapped to the first surface; andsnapping the virtual object to the first surface using the second positioning behavior comprises:in accordance with a determination that the orientation of the virtual object relative to a second reference in the three-dimensional environment at the second location does not correspond to the orientation of the first surface relative to the second reference in the three-dimensional environment, forgoing applying the rotational adjustment to the virtual object when snapping the virtual object to the first surface.

113. The method of any one of claims 109-112, wherein:snapping the virtual object to the first surface using the first positioning behavior comprises moving the virtual object to a third location, different from the second location, in the three-dimensional environment that is a first distance away from the first surface at which the virtual object is not in direct contact with the first surface; andsnapping the virtual object to the first surface using the second positioning behavior comprises moving the virtual object to a fourth location, different from the second location, in the three-dimensional environment that places the virtual object into direct contact with the first surface.

114. The method of any one of claims 109-113, wherein:snapping the virtual object to the first surface using the second positioning behavior comprises orienting the virtual object towards a viewpoint of the user; andsnapping the virtual object to the first surface using the first positioning behavior comprises snapping the virtual object to the first surface without orienting the virtual object towards the viewpoint of the user.5924927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)115. The method of claim 114, wherein orienting the virtual object towards the viewpoint of the user comprises applying a tilt to the virtual object about a first reference axis based on the viewpoint of the user, wherein the first reference axis is an axis in the three-dimensional environment that is parallel to a ground plane in the three-dimensional environment .

116. The method of any one of claims 114-115, wherein orienting the virtual object towards the viewpoint of the user comprises rotating the virtual object about a first reference axis based on the viewpoint of the user, wherein the first reference axis is a vertical axis in the three-dimensional environment that is perpendicular to a ground plane in the three-dimensional environment .

117. The method of any of claims 114-116, wherein:the virtual object is associated with an application; andthe second positioning behavior is defined by one or more configurable settings that control orienting the virtual object towards the viewpoint of the user and that are configured by the application.

118. The method of any one of claims 109-117, further comprising:while displaying, via the one or more display generation components, the virtual object snapped to the first surface at a third location in the three-dimensional environment, receiving a second input, via the one or more input devices, corresponding to a request to move the virtual object in a first direction; andin response to receiving the second input, moving the virtual object from the third location to a fourth location along the first surface in accordance with the second input while maintaining the virtual object snapped to the first surface.

119. The method of any of claims 109-118, wherein snapping the virtual object to the first surface comprises aligning a first portion of a three-dimensional bounding box associated with the virtual object to the first surface.

120. The method of any one of claims 109-119, wherein the first surface corresponds to a physical surface in a physical environment of a user of the computer system that is visible in the three-dimensional environment.5934927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)121. The method of any one of claims 109-119, wherein the first surface comprises a virtual surface that is displayed in the three-dimensional environment.

122. The method of any of claims 109-121, wherein:the three-dimensional environment includes the first surface and a second surface, different from the first surface;the first surface is the first type of surface;the second surface is the second type of surface; andthe first surface and the second surface are associated with a first application.

123. The method of any of claims 109-122, wherein:the virtual object is associated with a first virtual collider for snapping to the first type of surface, and a second virtual collider, different from the first virtual collider, for snapping to the second type of surface;the first set of criteria include a requirement that the first virtual collider intersects with the first surface in order for the first set of criteria to be satisfied; andthe second set of criteria include a requirement that the second virtual collider intersects with the first surface in order for the second set of criteria to be satisfied.

124. The method of claim 123, wherein:the first virtual collider has a first depth in a first direction;the second virtual collider has a second depth in the first direction; andthe first depth is greater than the second depth.

125. The method of any of claims 123-124, wherein:the first virtual collider has a first height in a first direction;the second virtual collider has a second height in the first direction; andthe second height is greater than the first height.

126. The method of any of claims 123-125, wherein:while displaying the virtual object at the first location, the virtual object is a first distance from a first viewpoint of the user at the first location;5944927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while displaying the first virtual object at the first distance from the viewpoint of the user, the first virtual collider extends away from the virtual object in a first direction by a first distance from the virtual object;the second virtual collider extends away from the virtual object in a second direction, different from the first direction by a second distance from the virtual object; andthe method further comprises:detecting, via the one or more input devices, a sequence of one or more inputs corresponding to a request to move the virtual object from the first location to a second location, different from the first location; andin response to detecting the sequence of one or more inputs corresponding to the request to move the virtual object from the first location to the second location, moving the virtual object to the second location, wherein:at the second location the virtual object is a second distance from the first viewpoint of the user, and the second distance is greater than the first distance;the first virtual collider extends away from the virtual object in the first direction by a third distance from the virtual object, different from the first distance from the virtual object, at the second location;the second virtual collider extends away from the virtual object in the second direction by a fourth distance from the virtual object at the second location; and a difference between the third distance from the virtual object and the first distance from the virtual object is greater than a difference between the fourth distance from the virtual object and the second distance from the virtual object.

127. The method of any of claims 109-126, wherein:in accordance with a determination that a configuration setting associated with the first surface is a first setting, the first surface is the first type of surface, andin accordance with a determination that a configuration setting associated with the first the first surface is a second setting, different from the first setting, the first surface is the second type of surface.

128. The method of any of claims 109-127, wherein the virtual object comprises a widget.

129. The method of any of claims 109-128, wherein the virtual object is a virtual object of an application.5954927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)130. The method of any of claims 109-129, further comprising:while the virtual object is snapped to the first surface, detecting, via the one or more input devices, a second input corresponding to a request to move the virtual object away from the first surface in the three-dimensional environment; andin response to detecting the second input corresponding to the request to move the virtual object away from the first surface in the three-dimensional environment:in accordance with a determination that the second input exceeds an input threshold, moving the virtual object away from the first surface by an amount corresponding to a magnitude of the second input; andin accordance with a determination that the second input does not exceed the input threshold, forgoing moving the virtual object away from the first surface by the amount corresponding to the magnitude of the second input.

131. The method of claim 130, wherein:in accordance with the determination that the first surface is the first surface type, the input threshold has a first input threshold magnitude; andin accordance with the determination that the first surface is the second surface type, different from the first surface type, the input threshold has a second input threshold magnitude, different from the first input threshold magnitude.

132. The method of any of claims 130-131, further comprising:while the virtual object is not snapped to the first surface:detecting, via the one or more input devices, a third input corresponding to a request to move the virtual object in the three-dimensional environment; andin response to detecting the third input, moving the virtual object in the three-dimensional environment in accordance with a third positioning behavior, wherein:the third positioning behavior is different from the first positioning behavior; andthe third positioning behavior is different from the second positioning behavior.

133. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:5964927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment:receiving a first input, via the one or more input devices, corresponding to a request to move the virtual object from a first location in the three-dimensional environment to a second location in the three-dimensional environment; andin response to receiving the first input:moving the virtual object from the first location toward the second location in accordance with the first input;in accordance with a determination that the virtual object at the second location satisfies one or more first snapping criteria for snapping the virtual object to a first surface that is a first type of surface, snapping the virtual object to the first surface using first positioning behavior; andin accordance with a determination that the object at the second location satisfies one or more second snapping criteria for snapping the object to the first surface that is a second type of surface, different from the first type of surface, snapping the object to the first surface using second positioning behavior different from the first positioning behavior.

134. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment:receiving a first input, via the one or more input devices, corresponding to a request to move the virtual object from a first location in the three-dimensional environment to a second location in the three-dimensional environment; and5974927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in response to receiving the first input:moving the virtual object from the first location toward the second location in accordance with the first input;in accordance with a determination that the virtual object at the second location satisfies one or more first snapping criteria for snapping the virtual object to a first surface that is a first type of surface, snapping the virtual object to the first surface using first positioning behavior; andin accordance with a determination that the object at the second location satisfies one or more second snapping criteria for snapping the object to the first surface that is a second type of surface, different from the first type of surface, snapping the object to the first surface using second positioning behavior different from the first positioning behavior.

135. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for, while displaying, via the one or more display generation components, a virtual object in a three-dimensional environment:receiving a first input, via the one or more input devices, corresponding to a request to move the virtual object from a first location in the three-dimensional environment to a second location in the three-dimensional environment; andin response to receiving the first input:moving the virtual object from the first location toward the second location in accordance with the first input;in accordance with a determination that the virtual object at the second location satisfies one or more first snapping criteria for snapping the virtual object to a first surface that is a first type of surface, snapping the virtual object to the first surface using first positioning behavior; andin accordance with a determination that the object at the second location satisfies one or more second snapping criteria for snapping the object to the first surface that is a second type of surface, different from the first type of surface, snapping the5984927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)object to the first surface using second positioning behavior different from the first positioning behavior.

136. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 109-132.

137. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 109-132.

138. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 109-132.

139. A method compri sing :at a computer system in communication with one or more display generation components and one or more input devices:detecting, via the one or more input devices, a first input corresponding to a request to place a first virtual object at a respective location in a three-dimensional environment; and in response to detecting the first input corresponding to the request to place the first virtual object at the respective location in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object in the three-dimensional environment, including:5994927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the first virtual object is not attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a first visual appearance; and in accordance with a determination that the first virtual object is attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a second visual appearance, different from the first visual appearance.

140. The method of claim 139, wherein:displaying the first virtual object with the first visual appearance includes displaying the first virtual object with a first degree of translucency;displaying the first virtual object with the second visual appearance includes displaying the first virtual object with a second degree of translucency; andthe second degree of translucency is different from the first degree of translucency.

141. The method of any of claims 139-140, wherein:displaying the first virtual object with the second visual appearance includes displaying first content in the first virtual object; anddisplaying the first virtual object with the first visual appearance includes at least partially obscuring display of the first content in the first virtual object.

142. The method of any of claims 139-141, wherein:displaying the first virtual object with the first visual appearance includes displaying one or more window controls associated with the first virtual object in the three-dimensional environment; anddisplaying the first virtual object with the second visual appearance includes forgoing displaying the one or more window controls associated with the first virtual object in the three-dimensional environment.

143. The method of any of claims 139-142, wherein:displaying the first virtual object with the first visual appearance includes displaying one or more attachment instructions for attaching the first virtual object to a surface in the three-dimensional environment; and6004927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)displaying the first virtual object with the second visual appearance includes forgoing displaying the one or more attachment instructions for attaching the first virtual object to a surface in the three-dimensional.

144. The method of any of claims 139-143, further comprising:before detecting the first input, and while the first virtual object is not displayed in the three-dimensional environment, while displaying, via the one or more display generation components, in the three-dimensional environment a virtual object launcher user interface, detecting, via the one or more input devices, a respective input directed to the virtual object launcher user interface corresponding to a request to display the first virtual object; and in response to detecting the respective input directed to the virtual object launcher user interface, displaying, via the one or more display generation components, the first virtual object in the three-dimensional environment with the first visual appearance.

145. The method of claim 144, wherein the virtual object launcher user interface includes one or more selectable affordances that are selectable to initiate display of one or more preselected virtual objects in the three-dimensional environment.

146. The method of any of claims 144-145, wherein the virtual object launcher includes one or more selectable affordances for a first category of virtual objects, and includes one or more selectable affordance for a second category of virtual objects, different from the first category of virtual objects, wherein, wherein:the first category of virtual objects are visually separated from the second category of virtual objects; andthe first category of virtual objects includes virtual objects that have more spatial elements than virtual objects in the second category of virtual objects.

147. The method of claim 146, wherein:the first category of virtual objects and the second category of virtual objects are displayed within a framing element; andan appearance of the framing element is customizable based on user inputs.

148. The method of any of claims 144-147, wherein the virtual object launcher user interface includes one or more selectable affordances that are selectable to initiate display of6014927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more virtual objects in the three-dimensional environment, including a respective selectable affordance that is selectable to initiate display of a respective virtual object in the three-dimensional environment, the method further comprising:while displaying the respective selectable affordance, detecting, via the one or more input devices, a second input corresponding to selection of the selectable affordance; and in response to detecting the second input, initiating a process to display the respective virtual object in the three-dimensional environment, including displaying:one or more options for selecting a type of content to display in the respective virtual object; anda representation of the respective virtual object attached to a virtual surface.

149. The method of any of claims 139-148, further comprising:while the first virtual object is attached to the surface, detecting, via the one or more input devices, a second input corresponding to a request to move the first virtual object away from the surface in the three-dimensional environment; andin response to detecting the second input:in accordance with a determination that the second input includes a magnitude above a threshold magnitude, moving the first virtual object away from the surface; and in accordance with a determination that the second input includes a magnitude below the threshold magnitude, forgoing moving the first virtual object away from the surface.

150. The method of any of claims 139-149, further comprising:while the first virtual object is attached to the surface, detecting, via the one or more input devices, a second input corresponding to a request to move the first virtual object away from the surface in the three-dimensional environment;in response to detecting the second input:moving the first virtual object away from the surface; anddisplaying the first virtual object with a third visual appearance, different from the second visual appearance, wherein the third visual appearance includes a visual prominence less than a visual prominence of the second visual appearance.

151. The method of any of claims 139-150, further comprising:6024927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while the first virtual object is attached to the surface, detecting, via the one or more input devices, a second input corresponding to a request to change a size of the first virtual object in the three-dimensional environment; andin response to detecting the second input, changing the size of the first virtual object from a first size to a second size in the three-dimensional environment in accordance with the second input while the first virtual object remains attached to the surface.

152. The method of any of claims 139-151, further comprising:while the first virtual object is attached to the surface, detecting, via the one or more input devices, a second input corresponding to a request to move the first virtual object in the three-dimensional environment; andin response to detecting the second input, moving the first virtual object along the surface in the three-dimensional environment in accordance with the second input while the first virtual object remains attached to the surface.

153. The method of any of claims 139-152, further comprising:while the first virtual object is not attached to a surface, detecting, via the one or more input devices, a second input corresponding to a request to move the first virtual object in the three-dimensional environment; andin response to detecting the second input, moving the first virtual object in the three-dimensional environment in accordance with the second input, and:in accordance with a determination that the first virtual object meets one or more snapping criteria, pinning the first virtual object to the surface of the three-dimensional environment, wherein an object that is pinned to a surface is harder to move from a current location of the object than an object that is not pinned to a surface; andin accordance with the determination that the first virtual object does not meet the one or more snapping criteria, forgoing pinning the first virtual object to the surface of the three-dimensional environment.

154. The method of any of claims 139-153, further comprising:detecting occurrence of a respective event that corresponds to the computer system starting to operate in a respective state; andin response to detecting the occurrence of the respective event:6034927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the first virtual object was attached to the surface in the three-dimensional environment prior to detecting occurrence of the respective event, automatically redisplaying the first virtual object as attached to the surface in the three-dimensional environment with the second visual appearance.

155. The method of claim 154, further comprising:in response to detecting the occurrence of the respective event that corresponds to the computer system starting to operate in the respective state:in accordance with a determination that the first virtual object was not attached to a surface in the three-dimensional environment prior to detecting occurrence of the respective event, forgoing automatically displaying the first virtual object in the three-dimensional environment.

156. The method of any of claims 139-155, wherein displaying the first virtual object with the second visual appearance includes:in accordance with a determination that an ambient light parameter associated with a physical environment of a user of the computer system has a first value, displaying the first virtual object with a first value for a first visual parameter; andin accordance with a determination that the ambient light parameter associated with the physical environment of the user has a second value, different from the first value, displaying the first virtual object with a second value for the first visual parameter, different from the first value for the first visual parameter.

157. The method of any of claims 139-156, wherein:displaying the first virtual object with the second visual appearance includes displaying a background element associated with the first virtual object;the background element is located between content included in the first virtual object and the surface; andthe background element obscures visibility of a portion of the surface at which the first virtual object is attached to the surface in the three-dimensional environment.

158. The method of any of claims 139-157, wherein the surface is a vertical surface or a horizontal surface in the three-dimensional environment displaying the first virtual object with the second visual appearance includes:6044927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the three-dimensional environment outside of the first virtual object has a first environment appearance, displaying the first virtual object in the three-dimensional environment with a first reflection appearance; andin accordance with a determination that the three-dimensional environment outside of the first virtual object has a second environment appearance, different from the first environment appearance, displaying the first virtual object in the three-dimensional environment with a second reflection appearance, different from the first reflection appearance.

159. The method of any of claims 139-158, further comprising:while the first virtual object is attached to the surface in the three-dimensional environment, and while one or more settings are associated with the first virtual object, wherein the one or more settings define content of and / or an appearance of the first virtual object, detecting, via the one or more input devices, a second input corresponding to a request to detach the first virtual object from the surface;in response to detecting the second input:detaching the first virtual object from the surface; andmaintaining the one or more settings associated with the first virtual object.

160. The method of any of claims 139-159, further comprising:while the first virtual object is not attached to a surface in the three-dimensional environment,detecting, via the one or more input devices, a second input corresponding to a request to attach the first virtual object to a surface in the three-dimensional environment; and in response to detecting the second input:attaching the first virtual object to the surface; and displaying, via the one or more display generation components, a settings user interface object associated with a settings user interface for adjusting one or more settings associated with the first virtual object in the three-dimensional environment.

161. The method of any of claims 139-160, further comprising:while the first virtual object is attached to the surface in the three-dimensional environment and is displayed with the second visual appearance, detecting, via the one or more input devices, a second input directed to the first virtual object; and6054927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in response to detecting the second input and in accordance with a determination that the second input satisfies one or more criteria, displaying, via the one or more display generation components, one or more system user interface controls associated with the first virtual object.

162. The method of claim 161, further comprising:in response to detecting the second input:in accordance with the determination that the second input satisfies the one or more criteria, displaying, via the one or more display generation components, a movement control object associated with the first virtual object in the three-dimensional environment; andin accordance with a determination that the second input does not satisfy the one or more criteria, forgoing display of the movement control object associated with the first virtual object in the three-dimensional environment.

163. The method of claim 162, further comprising:while displaying the movement control object, detecting, via the one or more input devices, a third input directed to the movement control object with the first virtual object; and in response to detecting the third input and in accordance with a determination that the third input satisfies the one or more criteria, initiating a process to cease display of the first virtual object in the three-dimensional environment.

164. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:detecting, via the one or more input devices, a first input corresponding to a request to place a first virtual object at a respective location in a three-dimensional environment; and in response to detecting the first input corresponding to the request to place the first virtual object at the respective location in the three-dimensional environment, displaying,6064927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)via the one or more display generation components, the first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is not attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a first visual appearance; and in accordance with a determination that the first virtual object is attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a second visual appearance, different from the first visual appearance.

165. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:detecting, via the one or more input devices, a first input corresponding to a request to place a first virtual object at a respective location in a three-dimensional environment; and in response to detecting the first input corresponding to the request to place the first virtual object at the respective location in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is not attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a first visual appearance; and in accordance with a determination that the first virtual object is attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a second visual appearance, different from the first visual appearance.

166. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; and6074927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)means for detecting, via the one or more input devices, a first input corresponding to a request to place a first virtual object at a respective location in a three-dimensional environment; andmeans for, in response to detecting the first input corresponding to the request to place the first virtual object at the respective location in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is not attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a first visual appearance; and in accordance with a determination that the first virtual object is attached to a surface in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a second visual appearance, different from the first visual appearance.

167. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 139-163.

168. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 139-163.

169. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 139-163.6084927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)170. A method compri sing :at a computer system in communication with one or more display generation components and one or more input devices:detecting, via the one or more input devices, a first input corresponding to a request to attach a first virtual object to a first surface in a three-dimensional environment;in response to detecting the first input, attaching the first virtual object to the first surface, and:in accordance with a determination that a setting associated with the first virtual object is a first setting, displaying, via the one or more display generation components, the first virtual object as recessed into the first surface, wherein when a virtual object is recessed into a surface, a front portion of the virtual object is displayed with an appearance that makes the front portion of the virtual object appear to be aligned with an orientation of the surface while being offset so that the front portion of the virtual object is behind a front portion of the surface.

171. The method of claim 2, further comprising:in response to detecting the first input and while the first virtual object is attached to the first surface:in accordance with a determination that the setting associated with the first virtual object is a second setting, different from the first setting, displaying, via the one or more display generation components, the first virtual object on top of the first surface, wherein displaying a respective virtual object on top of a respective surface includes displaying a front portion of the virtual object with an appearance that makes the front portion of the respective virtual object appear to be aligned with an orientation of the respective surface while the front portion of the respective virtual object is at or above a level of the respective surface.

172. The method of any of claims 170-171, wherein attaching the first virtual object to the first surface includes:in accordance with the determination that the setting associated with the first virtual object is the second setting, displaying, via the one or more display generation components, a first virtual shadow associated with the first virtual object on the first surface in the three-dimensional environment, and6094927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with the determination that the setting associated with the first virtual object is the first setting, forgoing displaying the first virtual shadow associated with the first virtual object on the first surface in the three-dimensional environment.

173. The method of claim 172, further comprising:while displaying the first virtual object as attached to the first surface, displaying, via the one or more display generation components, a second virtual object, that is different from the first virtual object, attached to a respective surface in the three-dimensional environment:displaying, via the one or more display generation component, the first virtual shadow in accordance with a first simulated light source in the three-dimensional environment; anddisplaying, via the one or more display generation component, a second virtual shadow associated with the second virtual object on the respective surface in the three-dimensional environment, wherein the second virtual shadow is displayed in accordance with a second simulated light source, different from the first simulated light source.

174. The method of any of claims 172-173, further comprising:while displaying the first virtual object as attached to the first surface, displaying, via the one or more display generation components, a second virtual object, that is different from the first virtual object, attached to a respective surface:displaying, via the one or more display generation components, the first virtual object with the first virtual shadow on the respective surface in the three-dimensional environment, wherein the first virtual shadow is based on a first spatial arrangement between the first virtual object and a first simulated light source in the three-dimensional environment; anddisplaying, via the one or more display generation components, a second virtual shadow associated with the second virtual object on the respective surface in the three-dimensional environment, wherein the second virtual shadow is based on a second spatial arrangement between the second virtual object and the first simulated source in the three-dimensional environment.

175. The method of any of claims 172-174, wherein the first virtual object includes one or more virtual object elements, the method further comprising:6104927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)displaying, on a surface of the first virtual object, one or more virtual object element shadows associated with the one or more virtual object elements of the virtual object onto one or more other virtual object elements of the virtual object, wherein the one or more virtual object element shadows are displayed in accordance with the first simulated light source.

176. The method of any of claims 170-175, the method further comprising:while displaying the first virtual object attached to the first surface and recessed into the first surface, detect an event corresponding to changing the setting from the first setting to the second setting; andin response to detecting the event, displaying, via the one or more display generation components, the first virtual object on top of the first surface.

177. The method of any of claims 170-176, wherein displaying the first virtual object as recessed into the first surface comprises:in accordance with a determination that a size of the first virtual object is a first size, displaying the first virtual object as recessed into the first surface by a first distance; and in accordance with a determination that the size of the first virtual object is a second size, different from the first size, displaying the first virtual object recessed into the first surface by a second distance, different from the first distance.

178. The method of any of claims 170-177, wherein:the first virtual object includes a first framing element when displayed as recessed into the first surface; anddisplaying the first virtual object as recessed further comprises:in accordance with a determination that a size of the first framing element is a first size, displaying the first virtual object as recessed into the first surface by a first distance; andin accordance with a determination that the size of the first framing element is a second size, different from the first size, displaying the first virtual object recessed into the first surface by a second distance, different from the first distance.

179. The method of any of claims 170-178, wherein the first virtual object includes a first framing element, and displaying the first virtual object includes:6114927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that a user selected a first color for the first framing element, displaying the first virtual object with the first framing element having the first color; andin accordance with a determination that a user selected a second color, different from the first color, for the first framing element, displaying the first virtual object with the first framing element having the second color.

180. The method of any of claims 170-179, wherein the first virtual object includes a first framing element, and further comprising:while displaying the first virtual object attached to the first surface, and while the first virtual object is recessed into the first surface:in accordance with a determination that the first virtual object includes first content, displaying the first framing element with a first simulated lighting effect that has a first visual appearance that is determined based on the first content; andin accordance with a determination that the first virtual object includes second content, different from the first content, displaying the first framing element with the first simulated lighting effect having a second visual appearance, different from the first visual appearance, wherein the second visual appearance is determined based on the second content.

181. The method of claim 180, wherein:the first virtual object is associated with a weather application;the first content includes a graphical representation of a first weather condition; and the second content includes a graphical representation of a second weather condition, different than the first weather condition.

182. The method of any of claims 180-181, wherein:the first virtual object is associated with a content browsing application;the first content is a first image accessible in the content browsing application; and the second content is a second image, different from the first image, accessible in the content browsing application.

183. The method of any of claims 170-182, further comprising:while displaying the first virtual object in a display mode:6124927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)detecting, via the one or more input devices, a second input directed to the first virtual object corresponding to a request to display the first virtual object in an edit mode; and in response to detecting the second input, displaying, via the one or more display generation components, the first virtual object in the edit mode.

184. The method of claim 183, wherein detecting the second input corresponding to the request to display the settings user interface includes detecting a first portion of the second input, followed by detecting a second portion of the second input after the first portion of the input, wherein the method further comprises:in response to detecting the first portion of the second input, and prior to detecting the second portion of the second input:changing a size of the first virtual object in the three-dimensional environment from a first size to a second size, different from the first size; andwhile detecting the second portion of the second input, changing the size of the first virtual object in the three-dimensional environment from the second size to a third size that is closer to the first size than the second size.

185. The method of any of claims 183-184, wherein displaying the first virtual object in the edit mode includes displaying one or more window controls associated with the first virtual object, the method further comprising:while displaying the one or more window controls associated with the first object, detecting, via the one or more input devices, a third input directed to a first control element of the one or more window controls; andin accordance with detecting the third input directed to the first control element of the one or more window controls, performing a first operation associated with the first control element.

186. The method of claim 185, wherein the one of more window controls include a window movement affordance, the method further comprising:while displaying the window movement affordance, detecting, via the one or more input devices, a fourth input directed to the window movement affordance of the first virtual object in the three-dimensional environment and corresponding to a request to move the first virtual object in the three-dimensional environment; andin response to detecting the fourth input:6134927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)moving the first virtual object in the three-dimensional environment in accordance with the fourth input, andwhile moving the first virtual object in the three-dimensional environment, ceasing display of the one or more window controls other than the window movement affordance.

187. The method of any of claims 183-186, the method further comprising:in response to detecting second input directed to the first virtual object corresponding to the request to display the first virtual object in the edit mode, and while displaying the first virtual object and a second virtual object in the three-dimensional environment, enabling the edit mode for the first virtual object without enabling the edit mode for the second virtual object.

188. The method of any of claims 183-187, further comprising:while displaying the first virtual object attached to the first surface with a first visual appearance, detecting, via the one or more input devices, a third input corresponding to a request to place the first virtual object at a respective location in the three-dimensional environment; andin response to detecting the third input corresponding to the request to place the first virtual object in the respective location in the three-dimensional environment:in accordance with a determination that the first virtual object is no longer attached to the first surface at the respective location in the three-dimensional environment, displaying, via the one or more display generation components, the first virtual object with a second visual appearance, different from the first visual appearance.

189. The method of any of claims 170-188, further comprising:while displaying the first virtual object attached to the first surface:in accordance with a determination that a viewpoint of the user is a first viewpoint, displaying first content in the first virtual object; andin accordance with a determination that the viewpoint of the user is a second viewpoint, different from the first viewpoint, displaying second content in the first virtual object, different from the first content.

190. The method of any of claims 170-189, further comprising:6144927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)detecting, via the one or more input devices, a second input corresponding to a request to attach a second virtual object to the first surface in the three-dimensional environment; in response to detecting the second input, attaching the second virtual object to the first surface, and:in accordance with a determination that the second virtual object includes a first type of content, displaying, via the one or more display generation components, the second virtual object as recessed into the first surface; andin accordance with a determination that the second virtual object includes a second type of content, different from the type of first content, displaying, via the one or more display generation components, the second virtual object on top of the first surface.

191. The method of any of claims 170-190, further comprising:detecting, via the one or more input devices, a second input corresponding to a request to move the first virtual object in the three-dimensional environment from a first location in the three-dimensional environment to a second location in the three-dimensional environment; andin response to detecting the second input:in accordance with a determination that the second location satisfies one or more snapping criteria, including a criterion that is satisfied when the second location is within a threshold distance of a second surface, and in accordance with a determination that the second surface is a first type of surface, displaying, via the one or more display generation components, the second virtual object as recessed into the second surface;in accordance with a determination that the second virtual object satisfies the one or more snapping criteria, including the criterion that is satisfied when the second location is within the threshold distance of the second surface, and in accordance with a determination that the second surface is a second surface type of surface, different from the first type of surface, displaying, via the one or more display generation components, the second virtual object as attached to the second surface without being recessed.

192. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; and6154927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:detecting, via the one or more input devices, a first input corresponding to a request to attach a first virtual object to a first surface in a three-dimensional environment;in response to detecting the first input, attaching the first virtual object to the first surface, and:in accordance with a determination that a setting associated with the first virtual object is a first setting, displaying, via the one or more display generation components, the first virtual object as recessed into the first surface, wherein when a virtual object is recessed into a surface, a front portion of the virtual object is displayed with an appearance that makes the front portion of the virtual object appear to be aligned with an orientation of the surface while being offset so that the front portion of the virtual object is behind a front portion of the surface.

193. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:detecting, via the one or more input devices, a first input corresponding to a request to attach a first virtual object to a first surface in a three-dimensional environment;in response to detecting the first input, attaching the first virtual object to the first surface, and:in accordance with a determination that a setting associated with the first virtual object is a first setting, displaying, via the one or more display generation components, the first virtual object as recessed into the first surface, wherein when a virtual object is recessed into a surface, a front portion of the virtual object is displayed with an appearance that makes the front portion of the virtual object appear to be aligned with an orientation of the surface while being offset so that the front portion of the virtual object is behind a front portion of the surface.6164927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)194. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for detecting, via the one or more input devices, a first input corresponding to a request to attach a first virtual object to a first surface in a three-dimensional environment; andmeans for, in response to detecting the first input, attaching the first virtual object to the first surface, and:in accordance with a determination that a setting associated with the first virtual object is a first setting, displaying, via the one or more display generation components, the first virtual object as recessed into the first surface, wherein when a virtual object is recessed into a surface, a front portion of the virtual object is displayed with an appearance that makes the front portion of the virtual object appear to be aligned with an orientation of the surface while being offset so that the front portion of the virtual object is behind a front portion of the surface.

195. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 170-191.

196. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 170-191.6174927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)197. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 170-191.

198. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, detecting, via the one or more input devices, a change in viewpoint of the user of the computer system relative to the first virtual object; and in response to detecting the change in viewpoint of the user of the computer system relative to the first virtual object, displaying the first virtual object from the viewpoint of the user and performing an operation associated with the first virtual object.

199. The method of claim 198, wherein detecting the change in viewpoint of the user relative to the first virtual object comprises detecting a change in a distance between the viewpoint of the user and the first virtual object.

200. The method of claim 199, wherein:before detecting the change in the viewpoint of the user relative to the first virtual object, a distance between the viewpoint of the user and the first virtual object is greater than a threshold distance; andperforming the operation associated with the first virtual object includes:in accordance with a determination that the change in the viewpoint of the user relative to the first virtual object causes the distance between the viewpoint of the user and the first virtual object to be less than the threshold distance, performing the operation associated with the first virtual object; andin accordance with a determination that the change in the viewpoint of the user relative to the first virtual object causes the distance between the viewpoint of the user and the first virtual object to remain greater than the threshold distance, forgoing performing the operation associated with the first virtual object.6184927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)201. The method of any of claims 198-200, wherein performing the operation associated with the first virtual object comprises modifying playback of audio associated with the first virtual object.

202. The method of claim 201, wherein modifying playback of audio associated with the first virtual object comprises:in accordance with a determination that attention of the user is directed towards the first virtual object, presenting respective audio associated with the first virtual object; and in accordance with a determination that the attention of the user is not directed towards the virtual object, forgoing presenting the respective audio associated with the first virtual object.

203. The method of any of claims 198-202, wherein performing the operation associated with the first virtual object comprises changing a spatialization of audio associated with the first virtual object from a first spatialization in the three-dimensional environment before the change in the viewpoint of the user of the computer system relative to the first virtual object is detected, to a second spatialization in the three-dimensional environment in response to detecting the change in the viewpoint of the user of the computer system relative to the first virtual object.

204. The method of claim 203, wherein changing the spatialization of audio associated with the first virtual object from the first spatialization to the second spatialization comprises:in accordance with a determination that the first virtual object is a first type of virtual object, changing the spatialization of audio associated with the first virtual from the first spatialization in the three-dimensional environment to the second spatialization in the three-dimensional environment in response to detecting the change in the viewpoint of the user of the computer system relative to the first virtual object ; andin accordance with a determination that the first virtual object is a second type of virtual object, different from the first type of virtual object, forgoing changing the spatialization of audio associated with the first virtual from the first spatialization in the three-dimensional environment to the second spatialization in the three-dimensional environment in response to detecting the change in the viewpoint of the user of the computer system relative to the first virtual object.6194927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)205. The method of any of claims 198-204, wherein performing the operation associated with the first virtual object comprises modifying a font of text that is displayed in the first virtual object.

206. The method of any of claims 198-205, wherein performing the operation associated with the first virtual object comprises modifying an information density of information displayed in the first virtual object from a first information density to a second information density that is different from the first information density.

207. The method of claim 206, wherein:the first virtual object is associated with a calendar application; andmodifying the information density associated with the virtual object from the first information density to the second information density includes displaying calendar information in the first virtual object that was not displayed in the first virtual object prior to performing the operation associated with the first virtual object.

208. The method of any of claims 206-207, wherein:the first virtual object is associated with an application that has access to ongoing event information; andmodifying the information density associated with the virtual object from the first information density to the second information density includes displaying event information for one or more ongoing events in the first virtual object that was not displayed in the first virtual object prior to performing the operation associated with the first virtual object.

209. The method of any of claims 198-208, wherein performing the operation associated with the first virtual object comprises changing a status of a first control associated with the first virtual object from a first status to a second status different from the first status.

210. The method of claim 209, wherein:the first virtual object is associated with an external device; andthe first control is a control for controlling the external device.

211. The method of any of claims 209 to 210, further comprising:6204927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while displaying, via the one or more display generation components, the first control in the first virtual object, receiving, via the one or more input devices, a first input corresponding to a request to change the control status of the first control, andin response to receiving the first input, changing the status of the first control associated with the first virtual object in accordance with the first input.

212. The method of claim 211, wherein changing the status of the first control associated with first virtual object in includes toggling the first control between a first state and a second state, different from the first state.

213. The method of any of claims 211-212, wherein changing the status of the first control associated with the first virtual object includes changing a value of an adjustable parameter of the first control associated with the first virtual object.

214. The method of any of claims 198-213, further comprising:in response to detecting the change in viewpoint of the user of the computer system relative to the first object:in accordance with a determination that the viewpoint of the user is within a first distance range from the first virtual object, displaying, via the one or more display generation components, the first virtual object from the viewpoint of the user and performing a first respective operation associated with the first virtual object; andin accordance with a determination that the viewpoint of the user is within a second distance range, different from the first distance range, from the first virtual object, displaying, via the one or more display generation components, the first virtual object from the viewpoint of the user and performing a second respective operation, different from the first respective operation, associated with the first virtual object.

215. The method of claim 214, further comprising:before detecting the change in the viewpoint of the user relative to the first virtual object, displaying, via the one or more display generation components, the first virtual object including a representation of a date without including event information associated with the date,wherein:6214927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the second respective operation includes displaying, via the one or more display generation components, in the first virtual object, event information associated with a first event associated with the date without displaying event information associated with other events associated with the date, andthe first respective operation includes concurrently displaying, via the one or more display generation components, in the first virtual object, the event information associated with the first event, and event information associated with a second event associated with the date, different from the first event.

216. The method of any of claims 198-215, wherein:performing the operation associated with the first virtual object includes displaying information in the virtual object that was not displayed prior to detecting the change in the viewpoint of the user relative to the first virtual object; andthe method further comprises:while displaying the first virtual object with the information after performing the first operation, detecting, via the one or more input devices, a change in a distance between the viewpoint of the user and the first virtual object from a first distance to a second distance greater than the first distance; andin response to detecting the change in the distance between the viewpoint of the user and the first virtual object:in accordance with a determination that an attention of the user of the computer system towards the first virtual object is maintained while moving from the first distance to the second distance, maintaining display, via the one or more display generation components, of the information in the first virtual object; andin accordance with a determination that the attention of the user of the computer system is not maintained towards the first virtual object while moving from the first distance to the second distance, ceasing display of the information in the first virtual object, while maintaining display, via the one or more display generation components, of the first virtual object.

217. The method of any of claims 198-216, wherein:performing the operation associated with the first virtual object includes displaying information in the virtual object that was not displayed prior to detecting the change in the viewpoint of the user relative to the first virtual object; and6224927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the method further comprises:while displaying the first virtual object with the information after performing the first operation, detecting, via the one or more input devices, that attention of the user of the computer system is no longer directed to the first virtual object; andin response to detecting that the attention of the user of the computer system is no longer directed to the first virtual object:in accordance with a determination that the distance between the viewpoint of the user of the first virtual object has changed after performing the first operation, and that the distance between the viewpoint of the user and the first virtual object is below a first distance threshold, maintaining display, via the one or more display generation components, of the information displayed in the first virtual object; andin accordance with a determination that the distance between the viewpoint of the user of the first virtual object has changed after performing the first operation, and that the distance between the viewpoint of the user and the first virtual object is above the first threshold distance, ceasing display of the information in the first virtual object, while maintaining display, via the one or more display generation components, of the first virtual object.

218. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, detecting, via the one or more input devices, a change in viewpoint of the user of the computer system relative to the first virtual object; and in response to detecting the change in viewpoint of the user of the computer system relative to the first virtual object, displaying the first virtual object from the viewpoint of the user and performing an operation associated with the first virtual object.6234927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)219. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, detecting, via the one or more input devices, a change in viewpoint of the user of the computer system relative to the first virtual object; and in response to detecting the change in viewpoint of the user of the computer system relative to the first virtual object, displaying the first virtual object from the viewpoint of the user and performing an operation associated with the first virtual object.

220. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for, while displaying, via the one or more display generation components, a first virtual object in a three-dimensional environment, detecting, via the one or more input devices, a change in viewpoint of the user of the computer system relative to the first virtual object; andmeans for, in response to detecting the change in viewpoint of the user of the computer system relative to the first virtual object, displaying the first virtual object from the viewpoint of the user and performing an operation associated with the first virtual object.

221. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 198-217.

222. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:6244927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 198-217.

223. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 198-217.

224. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while displaying, via the one or more display generation components, a first virtual object attached to a first surface at a first location in a three-dimensional environment, wherein the first virtual object represents a first content item:detecting the occurrence of a first event associated with the virtual object; and in response to detecting the first event and while maintaining display of the first virtual object at the first location in the three-dimensional environment and while the first virtual object remains attached to the first surface in the three-dimensional environment, updating the first virtual object to represent a second content item, different from the first content item.

225. The method of claim 224, wherein the first virtual object is associated with a music player application.

226. The method of claim 225, further comprising:detecting, via the one or more input devices, an input directed to the first virtual object; andin response to detecting the input directed to the first virtual object, initiating playback of a music content item associated with the music player application.6254927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)227. The method of any of claims 225-226, wherein:the first virtual object is associated with a first set of one or more content items, including the first music content item and the second music content item;prior to detecting the first event, the first virtual object plays the first music content item;the first event corresponds to a determination that the first music content item has ended; andupdating the first virtual object to represent the second content item corresponds to the switching from the first music content item to the second music content item playing.

228. The method of any of claims 225-227, wherein displaying, via the one or more display generation components, the first virtual object attached to the first surface at the first location in the three-dimensional environment includes:in accordance with a determination that the first content item is playing via the first virtual object, displaying, via the one or more display generation components, a visual representation of the first content item associated with the music player application in the first virtual object; andin accordance with a determination that the second content item is playing via the first virtual object, displaying, via the one or more display generation components, a visual representation of the second content item associated with the music player application in the first virtual object.

229. The method of claim 228, wherein displaying the first virtual object attached to the first surface at the first location in the three-dimensional environment includes:in accordance with a determination that the first virtual object representing the first content item, displaying, via the one or more display generation components, the first virtual object with a first border that includes a first color that is associated with the first content item; andin accordance with a determination that the first virtual object represents the second content item, displaying, via the one or more display generation components, the first virtual object with a second border, different from the first border, that includes a second color, different than the first color, wherein the second color is associated with the second content item.6264927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)230. The method of any one of claims 225-229, wherein:the first virtual object includes font-based textual content; anddisplaying the first virtual object attached to the first surface at the first location in the three-dimensional environment includes:in accordance with a determination that the first virtual object represents the first content item, displaying, via the one or more display generation components, the fontbased textual content of the first virtual object with a first font associated with the first content item; andin accordance with a determination that the first virtual object represents the second content item, displaying, via the one or more display generation components, the fontbased textual content of the first virtual object with a second font, different from the first font, wherein the second font is associated with the second content item.

231. The method of claim 230, wherein:the first font is based on a visual representation of the first content item; and the second font is based on a visual representation of the second content item.

232. The method of any of claims 229-230, wherein:the first font is based on metadata associated with the first content item; and the second font is based on metadata associated with the second content item.

233. The method of any of claims 225-232, wherein displaying the first virtual object attached to the first surface at the first location in the three-dimensional environment comprises:while playing a music content item associated with the music player application: in accordance with a determination that the music content item is the first content item, displaying, via the one or more display generation components, the first virtual object with a first visual appearance; andin accordance with a determination that the music content item is the second content item, displaying, via the one or more display generation components, the first virtual object with a second visual appearance, different from the first visual appearance.6274927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)234. The method of claim 233, wherein displaying the first virtual object attached to the first surface at the first location in the three-dimensional environment includes:while playing the first content item, displaying, via the one or more display generation components, the first virtual object with the first visual appearance; andin accordance with a determination that the first content item has finished playing and that the second content item has begun playing, displaying, via the one or more display generation components, the first virtual object with the second visual appearance.

235. The method of any one of claims 225-234, further comprising:while displaying, via the one or more display generation components, the first virtual object attached to the first surface at the first location in the three-dimensional environment, detecting an input, via the one or more input devices, directed to the first virtual object; and in response to detecting the input directed to the first virtual object:in accordance with a determination that the input is first type of input, performing a first operation associated with the first virtual object; andin accordance with a determination that the input is a second type of input, different from the first type of input, performing a second operation, different from the first operation, associated with the first virtual object.

236. The method of any of claims 224-235, wherein:the first virtual object is associated with a visual media content application;the first content item is a first visual media item;the second content item is a second visual media item; andthe first visual media item and the second visual media item are part a respective group of visual media items provided by the visual media content application.

237. The method of claim 236, wherein:in accordance with a determination that a user account associated with the first virtual object is a first user account, the respective group of visual media items is associated with the first user account, andin accordance with a determination that a user account associated with the first virtual object is a second user account, different from the first user account, the respective group of visual media items is associated with the second user account.6284927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)238. The method of any of claims 236-237, further comprising:detecting, via the one or more input devices, a sequence of one or more inputs corresponding to a selection of a respective category of visual media items from a user of the computer system; andin response to detecting the sequence of one or more inputs corresponding to the respective category of visual media items, selecting the respective category of visual media items for the first virtual object;wherein displaying the first virtual object includes:in accordance with a determination that the respective category, that was selected, is a first category, the respective group of visual media items displayed in the first virtual object includes visual media items associated with the first category, andin accordance with a determination that the respective category, that was selected, is a second category, different from the first category, the respective group of visual media items displayed in the first virtual object includes visual media items associated with the second category.

239. The method of any of claims 224-238, further comprising:while displaying, via the one or more display generation components, the first virtual object attached to the first surface at the first location in the three-dimensional environment, displaying, via the one or more display generation components, a second virtual object attached to a second surface at a second location in the three-dimensional environment, wherein the second virtual object represents a third content item.

240. The method of any of claims 224-239, further comprising:while displaying, via the one or more display generation components, the first virtual object in the three-dimensional environment, wherein the first virtual object includes first information, detecting, via the one or more input devices, a change in viewpoint of the user of the computer system relative to the first virtual object; andin response to detecting the change in the viewpoint of the user of the computer system relative to the first virtual object, displaying the first virtual object from the changed viewpoint of the user, and performing an operation associated with the first virtual object, including displaying second information in the first virtual object, wherein the second information was not displayed in the first virtual object before the change in the viewpoint of the user was detected.6294927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)241. The method of any of claims 224-240, further comprising:while presenting audio associated with the first content item with a first spatial arrangement relative to a viewpoint of the user:detecting, via the one or more input devices, a change in the viewpoint of the user; andin response to detecting the change in the viewpoint of the user: presenting the audio associated with the first content item with the first spatial arrangement relative to the viewpoint of the user.

242. The method of any of claims 224-241, further comprising:detecting, via the one or more input devices, a second event; andin response to detecting the second event:in accordance with a determination that the current viewpoint of the user relative to the first virtual object is a first viewpoint, present audio associated with the first content item with a first spatial arrangement relative to the viewpoint of the user that has a respective environment-locked spatial arrangement relative to the three-dimensional environment; andin accordance with a determination that the current viewpoint of the user relative to the first virtual object is a second viewpoint, different from the first viewpoint, present audio associated with the first content item with a second spatial arrangement, different from the first spatial arrangement, wherein the second spatial arrangement relative to the viewpoint of the user that has the respective environment-locked spatial arrangement relative to the three-dimensional environment.

243. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:6304927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while displaying, via the one or more display generation components, a first virtual object attached to a first surface at a first location in a three-dimensional environment, wherein the first virtual object represents a first content item:detecting the occurrence of a first event associated with the virtual object; and in response to detecting the first event and while maintaining display of the first virtual object at the first location in the three-dimensional environment and while the first virtual object remains attached to the first surface in the three-dimensional environment, updating the first virtual object to represent a second content item, different from the first content item.

244. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:while displaying, via the one or more display generation components, a first virtual object attached to a first surface at a first location in a three-dimensional environment, wherein the first virtual object represents a first content item:detecting the occurrence of a first event associated with the virtual object; and in response to detecting the first event and while maintaining display of the first virtual object at the first location in the three-dimensional environment and while the first virtual object remains attached to the first surface in the three-dimensional environment, updating the first virtual object to represent a second content item, different from the first content item.

245. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for, while displaying, via the one or more display generation components, a first virtual object attached to a first surface at a first location in a three-dimensional environment, wherein the first virtual object represents a first content item:detecting the occurrence of a first event associated with the virtual object; and6314927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)means for, in response to detecting the first event and while maintaining display of the first virtual object at the first location in the three-dimensional environment and while the first virtual object remains attached to the first surface in the three-dimensional environment, updating the first virtual object to represent a second content item, different from the first content item.

246. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 224-242.

247. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 224-242.

248. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 224-242.

249. A method comprising:at a computer system in communication with one or more display generation components, one or more input devices, and one or more audio output devices:displaying, via the one or more display generation components, a first timekeeping virtual object in a three-dimensional environment,6324927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)while at least a portion of the three-dimensional environment, that includes the first time-keeping virtual object, is visible via the one or more display generation components, detecting a first passage of time; andin response to detecting the first passage of time:in accordance with a determination that the first passage of time satisfies one or more first criteria, outputting, via the one or more audio output devices, a first sound associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more first criteria, andin accordance with a determination that the first passage of time satisfies one or more second criteria, different from the first criteria, outputting, via the one or more audio output devices, a second sound, different from the first sound, associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more second criteria.

250. The method of claim 249, wherein outputting the first sound associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more first criteria comprises:in accordance with a determination that the first time-keeping virtual object is at a first location in the three-dimensional environment, outputting the first sound with a simulated spatial sound at the first location in the three-dimensional environment; andin accordance with a determination that the first time-keeping virtual object is at a second location in the three-dimensional environment, different from the first location, outputting the first sound with a simulated spatial sound at the second location in the three-dimensional environment.

251. The method of any of claims 249-250, wherein the one or more first criteria include a requirement that the first passage of time corresponds to reaching a full hour division of time in order for the one or more first criteria to be satisfied.

252. The method of claim 251, the method further comprising:in accordance with a determination that a setting has a first value , the one or more first criteria include a requirement that a respective passage of time corresponds to reaching a half hour division of time in order for the one or more first criteria to be satisfied; and6334927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the setting has a second value different from the first value, the one or more first criteria include a requirement that the respective passage of time corresponds to reaching a quarter hour division of time in order for the one or more first criteria to be satisfied;in response to detecting the respective passage of time:in accordance with the determination that the setting has the first value and that the respective passage of time satisfies the one or more first criteria, including the requirement that the respective passage of time corresponds to reaching the half hour division of time in order for the one or more first criteria to be satisfied, outputting, via the one or more audio output devices, the first sound associated with the first time-keeping virtual object that corresponds to the respective passage of time satisfying the one or more first criteria, and in accordance with the determination that the setting has the second value that the respective passage of time satisfies the one or more first criteria, including the requirement that the respective passage of time corresponds to reaching the quarter hour division of time in order for the one or more first criteria to be satisfied, outputting, via the one or more audio output devices, the first sound associated with the first time-keeping virtual object that corresponds to the respective passage of time satisfying the one or more first criteria.

253. The method of any of claims 251-252, further comprising, in response to detecting the first passage of time, outputting a first sequence of sounds corresponding to the first timekeeping virtual object, including:at a first quarter hour boundary of time that does not correspond to a different significant boundary of time , outputting a first sound of the first sequence of sounds corresponding to the first quarter hour boundary of time; andat a second quarter hour boundary of time that corresponds to the different significant boundary of time, outputting a second sound of the first sequence of sounds, different from the first sound of the first sequence of sounds, corresponding to the different significant boundary of time.

254. The method of claim 253, wherein outputting the first sequence of sounds corresponding to the first time-keeping virtual object further includes:at a third quarter hour boundary of time, different from the first quarter hour boundary of time, that does not correspond to the different significant boundary of time, outputting a6344927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)third sound of the first sequence of sounds, different from the first respective sound, corresponding to the third quarter hour boundary of time.

255. The method of any of claims 253-254, further comprising, in response to detecting the first passage of time:in accordance with a determination that the first passage of time occurs during a first time period, outputting the first sequence of sounds; andin accordance with a determination that the first passage of time occurs during a second time period, different from the first time period, outputting a second sequence of sounds, different from the first sequence of sounds.

256. The method of any of claims 253-255, wherein:the first sound of the first sequence of sounds includes a first tone; andthe second sound of the first sequence of sounds includes the first tone.

257. The method of any of claims 249-256, wherein the one or more second criteria include a requirement that the first passage of time be equal to one second in order for the one or more second criteria to be satisfied.

258. The method of claim 257, wherein the second sound corresponds to a set of one or more ticking sounds.

259. The method of claim 258, wherein the set of one or more ticking sounds alternates between a tick sound and a tock sound for successive instances of satisfying the one or more second criteria.

260. The method of any of claims 257-259, wherein the one or more second criteria include a requirement that an attention of the user be directed at the first time-keeping virtual object in order for the one or more second criteria to be satisfied.

261. The method of any of claims 249-260, wherein:the one or more first criteria do not include a requirement that an attention of the user is directed at the first time-keeping virtual object in order for the one or more first criteria to be satisfied; and6354927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)the one or more second criteria include a requirement that the attention of the user is directed at the first time-keeping virtual object in order for the one or more second criteria to be satisfied.

262. The method of any of claims 249-261, wherein:outputting the first sound includes:in accordance with a determination that the viewpoint of the user is at a first distance from the first virtual object, outputting the first sound with a first volume for the first sound; andin accordance with a determination that the viewpoint of the user is at a second distance from the first virtual object, different from the first distance from the first virtual object, outputting the first sound with a second volume for the first sound that is different from the first volume for the first sound by a first amount of difference in volume; and outputting the second sound includes:in accordance with a determination that the viewpoint of the user is at the first distance from the first virtual object, outputting the second sound with a first volume for the second sound; andin accordance with a determination that the viewpoint of the user is at the second distance from the first virtual object, different from the first distance from the first virtual object, outputting the second sound with a second volume for the second sound that is different from the first volume for the second sound by a second amount of difference in volume, different from the first amount of difference in volume.

263. The method of any of claims 249-262, wherein the first time-keeping virtual object is placed within a physical three-dimensional environment.

264. The method of any of claims 249-263, wherein:a first visual configuration for the first time-keeping virtual object is associated with a first set of sounds;a second visual configuration for the first time-keeping virtual object, that is different from the first visual configuration for the first time-keeping virtual object, is associated with a second set of sounds that is different from the first set of sounds;outputting the first sound includes:6364927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the first time-keeping virtual object has the first visual configuration, generating a first sound from the first set of sounds; and in accordance with a determination that the first time-keeping virtual object has the second visual configuration, generating a first sound from the second set of sounds; andoutputting the second sound includes:in accordance with a determination that the first time-keeping virtual object has the first visual configuration, generating a second sound, different from the first sound, from the first set of sounds; andin accordance with a determination that the first time-keeping virtual object has the second visual configuration, generating a second sound, different from the first sound, from the second set of sounds.

265. The method of any of claims 249-264, wherein:a first visual configuration for the first time-keeping virtual object is associated with a first set of sounds;a second visual configuration for the first time-keeping virtual object, that is different from the first visual configuration for the first time-keeping virtual object, is associated with a second set of sounds that is different from the first set of sounds; andoutputting the first sound includes:in accordance with a determination that a setting for the first time-keeping virtual object has a first state and that the first time-keeping virtual object has the first visual configuration, generating a sound from the first set of sounds;in accordance with a determination that the setting for the first time-keeping virtual object has the first state and that the first time-keeping virtual object has the second visual configuration, generating a sound from the second set of sounds; andin accordance with a determination that the setting for the first time-keeping virtual object has a second state, different from the first state, generating a sound from a third set of sounds.

266. The method of any of claims 249-264, wherein the one or more first criteria include a requirement that the first time-keeping virtual object satisfies one or more visibility criteria in order for the one or more first criteria to be satisfied.6374927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)267. The method of claim 266, wherein the one or more visibility criteria include a requirement that at least a portion of the first time-keeping virtual object is displayed within a viewport of the user of the computer system in order for the one or more visibility criteria to be satisfied.

268. The method of claim 267, wherein the one or more visibility criteria include a criterion that is not satisfied when the at least the portion of the first time-keeping virtual object is displayed, via the one or more display generation components, behind a transparent object with respect to a viewpoint of the user.

269. The method of any of claims 266-268, wherein the one or more visibility criteria include a requirement the first time-keeping virtual object is within a same room of the three-dimensional environment as the user of the computer system in order for the one or more visibility criteria to be satisfied.

270. The method of any of claims 249-269, wherein:in accordance with the determination that the first passage of time satisfies the one or more first criteria and that the first time-keeping virtual object is displayed, via the one or more display generation components, within a first type of room, the first sound is a first respective sound that corresponds to the first type of room; andin accordance with the determination that the first passage of time satisfies the one or more first criteria and that the first time-keeping virtual object is displayed, via the one or more display generation components, within a second type of room, different from the first type of room, the first sound is a second respective sound that corresponds to the second type of room.

271. The method of any of claims 249-270, further comprising:while displaying the first time-keeping virtual object in the three-dimensional environment:displaying, via the one or more display generation components, a second timekeeping virtual object in the three-dimensional environment, wherein the first time-keeping virtual object corresponds to a first time zone and wherein the second time-keeping virtual object corresponds to a second time zone, different from the first time zone.6384927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)272. The method of claim 271, wherein:the first time-keeping virtual object is associated with a first series of different sounds for different hours, andthe second-time keeping virtual object is associated with a second series of different sounds for different hours,the method further comprising:detecting that an hour boundary of time has been reached; and in response to detecting that the hour boundary of time has been reached: outputting, via the one or more audio output devices, a sound associated with the first time-keeping virtual object that corresponds to a current hour in the first time zone; andoutputting, via the one or more audio output devices, a sound associated with the second time-keeping virtual object that corresponds to a current hour in the second time zone, wherein:the current hour in the first time zone is different from the current hour in the second time zone; andthe sound for the first time-keeping virtual object that corresponds to a current hour in the first time zone is different from the sound for the second time-keeping virtual object that corresponds to a current hour in the second time zone.

273. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:displaying, via the one or more display generation components, a first timekeeping virtual object in a three-dimensional environment,while at least a portion of the three-dimensional environment, that includes the first time-keeping virtual object, is visible via the one or more display generation components, detecting a first passage of time; andin response to detecting the first passage of time:6394927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the first passage of time satisfies one or more first criteria, outputting, via the one or more audio output devices, a first sound associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more first criteria, andin accordance with a determination that the first passage of time satisfies one or more second criteria, different from the first criteria, outputting, via the one or more audio output devices, a second sound, different from the first sound, associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more second criteria.

274. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:displaying, via the one or more display generation components, a first time-keeping virtual object in a three-dimensional environment,while at least a portion of the three-dimensional environment, that includes the first time-keeping virtual object, is visible via the one or more display generation components, detecting a first passage of time; andin response to detecting the first passage of time:in accordance with a determination that the first passage of time satisfies one or more first criteria, outputting, via the one or more audio output devices, a first sound associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more first criteria, andin accordance with a determination that the first passage of time satisfies one or more second criteria, different from the first criteria, outputting, via the one or more audio output devices, a second sound, different from the first sound, associated with the first timekeeping virtual object that corresponds to the first passage of time satisfying the one or more second criteria.

275. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;6404927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)memory; andmeans for, displaying, via the one or more display generation components, a first time-keeping virtual object in a three-dimensional environment,means for, while at least a portion of the three-dimensional environment, that includes the first time-keeping virtual object, is visible via the one or more display generation components, detecting a first passage of time; andmeans for, in response to detecting the first passage of time:in accordance with a determination that the first passage of time satisfies one or more first criteria, outputting, via the one or more audio output devices, a first sound associated with the first time-keeping virtual object that corresponds to the first passage of time satisfying the one or more first criteria, andin accordance with a determination that the first passage of time satisfies one or more second criteria, different from the first criteria, outputting, via the one or more audio output devices, a second sound, different from the first sound, associated with the first timekeeping virtual object that corresponds to the first passage of time satisfying the one or more second criteria.

276. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 249-272.

277. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 249-272.

278. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:6414927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)one or more processors;memory; andmeans for performing any of the methods of claims 249-272.

279. A method comprising:at a computer system in communication with one or more display generation components and one or more input devices:while a three-dimensional object is visible via the one or more display generation components, detecting an event; andin response to detect the event, displaying, via the one or more display generation components, a first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is a first type of virtual object, displaying the first virtual object with a first degree of emissivity in the three-dimensional environment, wherein a degree of emissivity of a respective virtual object determines an amount of simulated light that originates from the respective virtual object; and in accordance with a determination that the first virtual object is a second type of virtual object, different from the first type of virtual object, displaying the first virtual object in the three-dimensional environment with a second degree of emissivity, wherein the second degree of emissivity is less than the first degree of emissivity.

280. The method of claim 279, wherein:the first type of virtual object is an application window, andthe second type of virtual object is a virtual widget.

281. The method of any of claims 279-280, wherein:the first type of virtual object is a virtual object with a first virtual material treatment that has been selected for the virtual object andthe first virtual material treatment affects a visual appearance of content displayed by the first virtual object in a first manner, andthe second type of virtual object is a virtual object with a second virtual material treatment, different from the first virtual material treatment, that has been selected for the virtual object andthe second virtual material treatment affects the visual appearance of content displayed by the first virtual object in a second manner, different from the first manner.6424927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)282. The method of any of claims 279-281, wherein the first virtual object has a virtual material treatment that is user-selectable, the virtual material treatment affects a visual appearance of content displayed by the first virtual object, and the method further comprises:detecting, via the one or more input devices, a first input corresponding to a request to set the virtual material treatment for the first virtual object to a be a respective virtual material treatment; andafter detecting the first input, displaying, via the one or more display generation components, the first virtual object in the three-dimensional environment, including:in accordance with a determination that the respective virtual material treatment is a first virtual material treatment, displaying, via the one or more display generation components, the first virtual object with the first virtual material treatment in the three-dimensional environment; andin accordance with a determination that the respective virtual material treatment is a second virtual material treatment, different from the first virtual material treatment, displaying, via the one or more display generation components, the first virtual object with the second virtual material treatment in the three-dimensional environment.

283. The method of any of claims 281-282, wherein:the first virtual material treatment has a first virtual reflectivity, andthe second virtual material treatment has a second virtual reflectivity, different from the first virtual reflectivity.

284. The method of any of claims 281-283 wherein:the first virtual material treatment includes content of the first virtual object being displayed on a surface of the first virtual material; andthe second virtual material treatment includes the content of the first virtual object being displayed below a surface of the second virtual material.

285. The method of any of claims 281-284, wherein:the second virtual material treatment includes the content of the first virtual object virtually casting a virtual shadow on a background of the content; andthe first virtual material treatment includes the content of the first virtual object without including a virtual shadow on the background of the content.6434927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)286. The method of any of claims 282-285, wherein:the first virtual material treatment includes the content of the first virtual object not being displayed over an opaque background; andthe second virtual material treatment includes the content of the first virtual object being displayed over an opaque background.

287. The method of any of claims 282-286, wherein:the first virtual material treatment includes the content of the first virtual object being displayed with a first respective degree of emissivity; andthe second virtual material treatment includes the content of the first virtual object being displayed with a second respective degree of emissivity, different from the first respective degree of emissivity.

288. The method of any of claims 282-287, wherein:the first virtual material treatment includes the content of the first virtual object being displayed with a first degree of virtual reflective sheen; andthe second virtual material treatment includes the content of the first virtual object being displayed with a second degree of reflective sheen, greater than the first degree of reflective sheen.

289. The method of any of claims 279-288, wherein displaying the first virtual object in the three-dimensional environment with the second degree of emissivity includes displaying the first virtual object with a visual appearance that is based on simulated reflected light from the three-dimensional environment.

290. The method of claim 289, wherein the simulated reflected light is based on an appearance of the three-dimensional environment surrounding the first virtual object.

291. The method of claim 290, further comprising:while displaying, via the one or more display generation components, a second virtual object concurrently with the first virtual object in the three-dimensional environment, wherein the first virtual object is displayed at a first location in the three-dimensional6444927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)environment, and the second virtual object is displayed at a second location, different from the first location, in the three-dimensional environment:displaying, via the one or more display generation components, the first virtual object with a visual appearance that is based on the first simulated reflected light that is virtually reflected from the first virtual object and is based on a first simulated light source; anddisplaying, via the one or more display generation components, the second virtual object with a visual appearance that is based on second simulated reflected light that is virtually reflected from the second virtual object and is based on the first simulated light source, wherein the second simulated reflected light is different from the first simulated reflected light.

292. The method of any of claims 290-291, further comprising:while displaying, via the one or more display generation components, the first virtual object with a first visual appearance that is based on first simulated reflected light corresponding to the one or more characteristics of the three-dimensional environment surrounding the first virtual object having first one or more values, detecting a second event corresponding to a change in the one or more characteristics of the three-dimensional environment surrounding the first virtual object from having the first one or more values to having second one or more values, different from the first one or more values; andin response to detecting second event, displaying, via the one or more display generation components, the first virtual object with a second visual appearance that is based on second simulated reflected light corresponding to the one or more characteristics of the three-dimensional environment surrounding the first virtual object having the second one or more values, wherein the second visual appearance and the second simulated reflected light are different from the first visual appearance and the first simulated reflected light.

293. The method of claims 290-292, further comprising:while displaying, via the one or more display generation components, the first virtual object at a first location within the three-dimensional environment with a first visual appearance that is based on the first simulated reflected light, wherein the first simulated reflected light is based on a first spatial arrangement of the first virtual object at the first location relative to the simulated light source, detecting, via the one or more input devices, an6454927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)input corresponding to a request to move the first virtual object from the first location to a second location, different from the first location, in the three-dimensional environment; and in response to detecting the input:moving the first virtual object from the first location to the second location in the three-dimensional environment; anddisplaying the first virtual object with a second visual appearance that is based on second simulated reflected light, different from the first simulated reflected light, wherein the second simulated reflected light is based on a second spatial arrangement of the first virtual object at the first location relative to the simulated light source, wherein the second spatial arrangement is different from the first spatial arrangement.

294. The method of claim 289, wherein the simulated reflected light is based on a first simulated light source associated with the first virtual object.

295. The method of claim 294, further comprising:concurrently displaying, via the one or more display generation components, the first virtual object and a second virtual object in the three-dimensional environment, wherein displaying the second virtual object in the three-dimensional environment includes displaying the second virtual object with a visual appearance that is based on second simulated reflected light that is based on a second simulated light source associated with the second virtual object, different from the first simulated light source associated with the first virtual object.

296. The method of any of claims 294-295, further comprising:while displaying the first virtual object at a first location with the three-dimensional environment with the visual appearance that is based on the simulated reflected light that is based on the first simulated light source associated with the first virtual object, and while the first light source has a first orientation relative to the first virtual object, detecting, via the one or more input devices, an input corresponding to a request to move the first virtual object from the first location to a second location, different from the first location, in the three-dimensional environment; andin response to detecting the input:moving the first virtual object from the first location to the second location; and6464927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)updating an appearance of the first virtual object based on an updated orientation of the first simulated light source such that first simulated light source has the first orientation relative to the first virtual object when the first virtual object is displayed at the second location.

297. The method of claim 296, wherein when the input is detected, the first simulated light source has a first spatial arrangement relative to the first virtual object, the method further comprising:in response to detecting the input:in accordance with a determination that the input corresponds to movement of the first virtual object in a first manner, changing an appearance of the virtual object based on movement of the first simulated light source in the three-dimensional environment that maintains the first spatial arrangement of the first simulated light source relative to the first virtual object; andin accordance with a determination that the input corresponds to movement of the first virtual object in a second manner, different from the first manner, forgoing changing an appearance of the virtual object based on movement of the first simulated light source in the three-dimensional environment that changes a spatial arrangement the first simulated light source relative to the first virtual object to a second spatial arrangement that is different from the first spatial arrangement.

298. The method of any of claims 294-297, further comprising:while displaying the first virtual object with a size that is a first virtual object size and with the visual appearance that is based on the simulated reflected light that is based on the first simulated light source that has a first light source size, detecting, via the one or more input devices, an input corresponding to a request to modify the size of the first virtual object from the first virtual object size to a second virtual object size, different from the first virtual object size; andin response to detecting the input:modifying the size of the first virtual object from the first virtual object size to the second virtual object size; andupdating an appearance of the first virtual object based on an updated size of the first simulated light source from the first light source size to a second light source size, different from the first light source size.6474927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)299. The method of any of claims 279-298, further comprising:while displaying the first virtual object with the second degree of emissivity in the three-dimensional environment, detecting, via the one or more input devices, an input corresponding to a request to display an editing user interface associated with first virtual object; andin response to detecting the input, concurrently displaying, via the one or more display generation components, the first virtual object with the second degree of emissivity, and the editing user interface with a third degree of emissivity, greater than the second degree of emissivity.

300. The method of any of claims 279-299, wherein:the first virtual object includes background content and foreground content, and displaying the first virtual object includes:displaying, via the one or more display generation components, the background content with a first respective degree of emissivity; anddisplaying, via the one or more display generation components, the foreground content with a second respective degree of emissivity that is greater than the first respective degree of emissivity.

301. The method of any of claims 279-300, wherein:the first virtual object is a recessed widget that includes first content, and displaying the recessed widget includes displaying the first content within the recessed widget with a visual appearance that is not based on a simulated light source that is in the three-dimensional environment.

302. The method of claims 301, wherein displaying the recessed widget includes:in accordance with a determination that the first content included in the recessed widget is wide angle content, displaying, via the one or more display generation components, the wide-angle content as separated in depth from a frame element of the recessed widget, wherein the wide-angle content is behind the frame element relative to a viewpoint of a user of the computer system.

303. The method of claims 300-302, further comprising:6484927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)displaying, via the one or more display generation components, a second virtual object in the three-dimensional environment, wherein the second virtual object is a widget that is displayed on top of a surface to which the widget is attached that includes second content, and displaying the widget on top of the surface to which the widget is attached includes displaying the second content with a visual appearance that is based on the simulated light source that is in the three-dimensional environment.

304. The method of claims 300-303, wherein displaying the recessed widget includes displaying, via the one or more display generation components, simulated reflected light from the first content on a frame element of the recessed widget.

305. The method of claims 304, wherein displaying the recessed widget includes displaying, via the one or more display generation components, simulated reflected light based on other elements in the three-dimensional environment, outside of the recessed widget, on the frame element.

306. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:while a three-dimensional object is visible via the one or more display generation components, detecting an event; andin response to detect the event, displaying, via the one or more display generation components, a first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is a first type of virtual object, displaying the first virtual object with a first degree of emissivity in the three-dimensional environment, wherein a degree of emissivity of a respective virtual object determines an amount of simulated light that originates from the respective virtual object; and in accordance with a determination that the first virtual object is a second type of virtual object, different from the first type of virtual object, displaying the first6494927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)virtual object in the three-dimensional environment with a second degree of emissivity, wherein the second degree of emissivity is less than the first degree of emissivity.

307. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform operations comprising:while a three-dimensional object is visible via the one or more display generation components, detecting an event; andin response to detect the event, displaying, via the one or more display generation components, a first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is a first type of virtual object, displaying the first virtual object with a first degree of emissivity in the three-dimensional environment, wherein a degree of emissivity of a respective virtual object determines an amount of simulated light that originates from the respective virtual object; and in accordance with a determination that the first virtual object is a second type of virtual object, different from the first type of virtual object, displaying the first virtual object in the three-dimensional environment with a second degree of emissivity, wherein the second degree of emissivity is less than the first degree of emissivity.

308. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for, while a three-dimensional object is visible via the one or more display generation components, detecting an event; andmeans for, in response to detect the event, displaying, via the one or more display generation components, a first virtual object in the three-dimensional environment, including:in accordance with a determination that the first virtual object is a first type of virtual object, displaying the first virtual object with a first degree of emissivity in the three-dimensional environment, wherein a degree of emissivity of a respective virtual object determines an amount of simulated light that originates from the respective virtual object; and6504927-0650-4611 , v. 2Attorney Docket No. 106842243540 (P70352WO1)in accordance with a determination that the first virtual object is a second type of virtual object, different from the first type of virtual object, displaying the first virtual object in the three-dimensional environment with a second degree of emissivity, wherein the second degree of emissivity is less than the first degree of emissivity.

309. A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a computer system that is in communication with one or more input devices and one or more display generation components, cause the computer system to perform any of the methods of claims 279-305.

310. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andone or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 279-305.

311. A computer system that is in communication with one or more input devices and one or more display generation components, the computer system comprising:one or more processors;memory; andmeans for performing any of the methods of claims 279-305.6514927-0650-4611 , v. 2