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

# width

The width of the eraser.

## Declaration

```swift
var width: CGFloat { get }
```

## See Also

### Getting the width information

- [defaultWidth(for:)](pencilkit/pkerasertoolreference/defaultwidth(for:).md)
- [minimumWidth(for:)](pencilkit/pkerasertoolreference/minimumwidth(for:).md)
- [maximumWidth(for:)](pencilkit/pkerasertoolreference/maximumwidth(for:).md)
