---
title: actions
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpnavigationalert/actions
---

# actions

The array of actions associated with this navigation alert.

## Declaration

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

## Discussion

Discussion If the alert was created with the older @c primaryAction / @c secondaryAction initializer, this property returns those actions as an array for backward compatibility.
