---
title: actions
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uialertcontroller/actions
---

# actions

The actions that the user can take in response to the alert or action sheet.

## Declaration

```swift
var actions: [UIAlertAction] { get }
```

## Discussion

Discussion The actions are in the order in which you added them to the alert controller. This order also corresponds to the order in which they’re displayed in the alert or action sheet. The second action in the array is displayed below the first, the third is displayed below the second, and so on.

## See Also

### Configuring the user actions

- [addAction(_:)](uikit/uialertcontroller/addaction(_:).md)
- [preferredAction](uikit/uialertcontroller/preferredaction.md)
