---
title: eraserType
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkerasertool-swift.struct/erasertype-swift.property
---

# eraserType

The behavior adopted by the eraser when deleting content.

## Declaration

```swift
var eraserType: PKEraserTool.EraserType { get set }
```

## See Also

### Getting the eraser type

- [PKEraserTool.EraserType](pencilkit/pkerasertool-swift.struct/erasertype-swift.enum.md)
