<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKToolPickerVisibility",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:@E@PKToolPickerVisibility"
  },
  "title" : "PKToolPickerVisibility"
}
-->

# PKToolPickerVisibility

Constants that describe the visibility state of a tool picker.

```
enum PKToolPickerVisibility
```

## Overview

Set the `toolPickerVisibility` property on a `PKResponderState` to control whether a tool picker is visible, offscreen but responsive, or inactive for a given responder. When set to [`PKToolPickerVisibilityInherited`](/documentation/PencilKit/PKToolPickerVisibility/PKToolPickerVisibilityInherited), the visibility is determined by the next responder in the chain. If no responder in the chain provides a visibility, the tool picker defaults to [`PKToolPickerVisibility.visible`](/documentation/PencilKit/PKToolPickerVisibility/visible).

## Topics

### Visibility states

[`PKToolPickerVisibilityInherited`](/documentation/PencilKit/PKToolPickerVisibility/PKToolPickerVisibilityInherited)

Inherit the tool picker visibility from the next responder.

[`case inactive`](/documentation/PencilKit/PKToolPickerVisibility/inactive)

No active tool picker.

[`case hidden`](/documentation/PencilKit/PKToolPickerVisibility/hidden)

Tool picker is active but offscreen, and can appear temporarily in response to user actions.

[`case visible`](/documentation/PencilKit/PKToolPickerVisibility/visible)

Tool picker is active and onscreen.

### Initializers

[`init?(rawValue: Int)`](/documentation/PencilKit/PKToolPickerVisibility/init(rawValue:))

### Instance Methods

[`func toggle()`](/documentation/PencilKit/PKToolPickerVisibility/toggle())

Toggles between hidden / visible.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)