A computer-readable storage medium storing one or more programs, wherein the one or more programs are configured to be executed by one or more processors of a computer system, wherein the computer system is in communication with one or more input devices and a first display generation component, and wherein the one or more programs include instructions for performing operations including:
- displaying, via the first display generation component, a first view of a three-dimensional environment, including displaying at least a first user interface object at a first position in the three-dimensional environment and a second user interface object at a second position different from the first position in the three-dimensional environment;
- while displaying the first view of the three-dimensional environment via the first display generation component, detecting a first gaze input directed to a first region in the three-dimensional environment that corresponds to the first position in the three-dimensional environment;
- while detecting the first gaze input directed to the first region in the three-dimensional environment, detecting a first movement of a hand that meets first gesture criteria;
- and
- in response to detecting the first movement of the hand that meets the first gesture criteria while detecting the first gaze input directed to the first region in the three-dimensional environment:
- in accordance with a determination that the first movement of the hand that meets the first gesture criteria is detected after first gaze criteria have been met, wherein first gaze criteria require that the first gaze input is held at the first region for at least a first preset amount of time in order for the first gaze criteria to be met, selecting the first user interface object between the first user interface object and the second user interface object;
- and
- in accordance with a determination that the first movement of the hand that meets the first gesture criteria is detected before the first gaze criteria have been met, forgoing selection of the first user interface object.