---
title: behavior
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsslideraccessory/behavior
---

# behavior

The effect on interaction with the accessory.

## Declaration

```swift
@NSCopying var behavior: NSSliderAccessoryBehavior { get set }
```

## Discussion

Discussion The default value is automaticBehavior.

## See Also

### Instance Properties

- [isEnabled](appkit/nsslideraccessory/isenabled.md)
