<!--
{
  "availability" : [
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSScrubber/floatsSelectionViews",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScrubber(py)floatsSelectionViews"
  },
  "title" : "floatsSelectionViews"
}
-->

# floatsSelectionViews

A Boolean value that determines the behavior of the item selection decorations as the scrubber’s selection changes.

```
var floatsSelectionViews: Bool { get set }
```

## Discussion

When scrubber items are selected, they are decorated with background and overlay views, as determined by the [`selectionBackgroundStyle`](/documentation/AppKit/NSScrubber/selectionBackgroundStyle) and [`selectionOverlayStyle`](/documentation/AppKit/NSScrubber/selectionOverlayStyle) properties.

As the selection changes, the behavior of these selection decoration views is determined by the [`floatsSelectionViews`](/documentation/AppKit/NSScrubber/floatsSelectionViews) property, as follows:

- <doc://com.apple.documentation/documentation/Swift/true> The overlay and background views float smoothly between the previously selected item and the newly selected item.
- <doc://com.apple.documentation/documentation/Swift/false> The overlay and background views cross-fade from the previously selected item to the newly selected item.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)