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

# action

The selector on the target object that is invoked when a user interacts with the slider or either of the accessories.

## Declaration

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

## See Also

### Handling slider interaction

- [target](appkit/nsslidertouchbaritem/target.md)
