---
title: action
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolorpickertouchbaritem/action
---

# action

The selector on the target object that is invoked when a user interacts with the color picker.

## Declaration

```swift
var action: Selector? { get set }
```

## See Also

### Obtaining the selected color

- [color](appkit/nscolorpickertouchbaritem/color.md)
- [target](appkit/nscolorpickertouchbaritem/target.md)
