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

# actions

The actions that the template displays for this contact.

## Declaration

```swift
var actions: [CPButton]? { get set }
```

## Discussion

Discussion Assign an array of CPButton objects to this property to update the action buttons that the template displays for this contact. The template can display four buttons maximum. If the array contains more buttons, the template uses only the first four. Contact actions are optional, and the default value is nil.

## See Also

### Managing Interactions with the Contact

- [CPContactCallButton](carplay/cpcontactcallbutton.md)
- [CPContactDirectionsButton](carplay/cpcontactdirectionsbutton.md)
- [CPContactMessageButton](carplay/cpcontactmessagebutton.md)
