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 a display generation component and one or more input devices, cause the computer system to perform a method comprising:
- while displaying, via the display generation component, a user interface that includes a virtual keyboard and an object corresponding to a first key of a plurality of keys of the virtual keyboard, and while a first portion of a user of the computer system has not selected the object, wherein the first portion of the user of the computer system selects the object when the first portion of the user is within a first threshold distance of a location of the object:
- detecting, via the one or more input devices, the first portion of the user a second threshold distance of the location of the object;
- and
- in response to detecting the first portion of the user within the second threshold distance of the location of the object and further than the first threshold distance of the location of the object:
- in accordance with a determination that the first portion of the user is a first finger of a hand of the user, displaying, via the display generation component, the object with a visual indication of an interaction between the first portion of the user and the object;
- and
- in accordance with a determination that the first portion of the user is a second finger, other than the first finger, of the hand of the user, forgoing displaying the object with the visual indication of an interaction between the first portion of the user and the object;
- while displaying the first key with the visual indication of the interaction between the first portion of the user and the first key in accordance with the determination that the first portion of the user is the first finger of the hand of the user in response to detecting the first portion of the user within the second threshold distance of the location of the object:
- detecting, via the one or more input devices, a second portion of the user of the computer system within the second threshold distance of a location corresponding to a second key of the virtual keyboard;
- in response to detecting the second portion of the user within the second threshold distance of the location corresponding to the second key, and in accordance with a determination that the second portion of the user is a third finger of a hand of the user, displaying, via the display generation component, the second key with a visual indication of an interaction between the second portion of the user and the second key;
- while concurrently displaying the first key with the visual indication of the interaction between the first portion of the user and the first key and the second key with the visual indication of the interaction between the second portion of the user and the second key in accordance with the determination that the second portion of the user is the third finger of the hand of the user in response to detecting the second portion of the user within the second threshold distance of the location corresponding to the second key:
- detecting, via the one or more input devices, a first input directed to the first key provided by the first finger of the hand of the user and a second input directed to the second key provided by the third finger of the hand of the user;
- and
- in response to detecting the first input and the second input, performing operations associated with the first key and the second key of the virtual keyboard.