---
title: click()
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: xcuiautomation/xcuicoordinate/click()
---

# click()

Sends a click event at the coordinate.

## Declaration

```swift
func click()
```

## See Also

### Clicking

- [click(forDuration:thenDragTo:)](xcuiautomation/xcuicoordinate/click(forduration:thendragto:).md)
- [click(forDuration:thenDragTo:withVelocity:thenHoldForDuration:)](xcuiautomation/xcuicoordinate/click(forduration:thendragto:withvelocity:thenholdforduration:).md)
- [doubleClick()](xcuiautomation/xcuicoordinate/doubleclick().md)
- [rightClick()](xcuiautomation/xcuicoordinate/rightclick().md)
