A method, comprising: at a computer system that includes one or more cameras and an input device, and further includes, or is in communication with, a display generation component: displaying, via the display generation component, an augmented reality environment, wherein displaying the augmented reality environment includes concurrently displaying: a representation of at least a portion of a field of view of the one or more cameras that includes a respective physical object that is associated with a physical surface of a physical environment, wherein the representation is updated as the field of view of the one or more cameras changes; and a respective virtual user interface object at a respective location in the representation of the field of view of the one or more cameras, wherein the respective virtual user interface object has a location that is determined based on the respective physical object in the field of view of the one or more cameras, and the respective virtual user interface object includes a plurality of portions including a first portion and a second portion; while displaying the augmented reality environment, detecting an input at a location that corresponds to the respective virtual user interface object; and while continuing to detect the input: detecting movement of the input relative to the respective physical object in the field of view of the one or more cameras; and in response to detecting the movement of the input relative to the respective physical object in the field of view of the one or more cameras, moving the first portion of the respective virtual user interface object, relative to the respective physical object and away from the physical surface associated with the respective physical object, in accordance with a magnitude of movement of the input relative to the respective physical object; wherein, before and after the moving of the first portion of the respective virtual user interface object in the augmented reality environment, the second portion of the respective virtual user interface object, displayed in the augmented reality environment, is anchored to a portion of the respective physical object in the field of view of the one or more cameras that is associated with the respective physical surface. displaying, via the display generation component, an augmented reality environment, wherein displaying the augmented reality environment includes concurrently displaying: a representation of at least a portion of a field of view of the one or more cameras that includes a respective physical object that is associated with a physical surface of a physical environment, wherein the representation is updated as the field of view of the one or more cameras changes; and a respective virtual user interface object at a respective location in the representation of the field of view of the one or more cameras, wherein the respective virtual user interface object has a location that is determined based on the respective physical object in the field of view of the one or more cameras, and the respective virtual user interface object includes a plurality of portions including a first portion and a second portion; a representation of at least a portion of a field of view of the one or more cameras that includes a respective physical object that is associated with a physical surface of a physical environment, wherein the representation is updated as the field of view of the one or more cameras changes; and a respective virtual user interface object at a respective location in the representation of the field of view of the one or more cameras, wherein the respective virtual user interface object has a location that is determined based on the respective physical object in the field of view of the one or more cameras, and the respective virtual user interface object includes a plurality of portions including a first portion and a second portion; while displaying the augmented reality environment, detecting an input at a location that corresponds to the respective virtual user interface object; and while continuing to detect the input: detecting movement of the input relative to the respective physical object in the field of view of the one or more cameras; and in response to detecting the movement of the input relative to the respective physical object in the field of view of the one or more cameras, moving the first portion of the respective virtual user interface object, relative to the respective physical object and away from the physical surface associated with the respective physical object, in accordance with a magnitude of movement of the input relative to the respective physical object; detecting movement of the input relative to the respective physical object in the field of view of the one or more cameras; and in response to detecting the movement of the input relative to the respective physical object in the field of view of the one or more cameras, moving the first portion of the respective virtual user interface object, relative to the respective physical object and away from the physical surface associated with the respective physical object, in accordance with a magnitude of movement of the input relative to the respective physical object; wherein, before and after the moving of the first portion of the respective virtual user interface object in the augmented reality environment, the second portion of the respective virtual user interface object, displayed in the augmented reality environment, is anchored to a portion of the respective physical object in the field of view of the one or more cameras that is associated with the respective physical surface.