---
title: drawingGestureRecognizer
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkcanvasview/drawinggesturerecognizer
---

# drawingGestureRecognizer

The gesture recognizer that the canvas uses to track touch events.

## Declaration

```swift
var drawingGestureRecognizer: UIGestureRecognizer { get }
```
