<!--
{
  "availability" : [
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/MarkupToolbarViewController/selectedDrawingTool",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit27MarkupToolbarViewControllerC19selectedDrawingTool06PencilB06PKTool_pvp"
  },
  "title" : "selectedDrawingTool"
}
-->

# selectedDrawingTool

The currently selected drawing tool.

```
@MainActor @preconcurrency var selectedDrawingTool: any PKTool { get set }
```

## Discussion

Default is `PKInkingTool(.monoline)`. Setting this property to a color-bearing tool while
`activeInkColor` is non-nil overrides the new tool’s color with the cached value, preserving
the user’s most-recent color pick across programmatic tool changes.

---

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)