---
title: eraserType
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkerasertoolreference/erasertype
---

# eraserType

The behavior adopted by the eraser when deleting content.

## Declaration

```swift
var eraserType: __PKEraserType { get }
```
