---
title: "MTTwoFingersDragPitchGesture | Mobile sdk | Mobile sdk ios | Ios"
description: "Handles changing the pitch by dragging with two fingers."
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTTwoFingersDragPitchGesture

```
@MainActor
public struct MTTwoFingersDragPitchGesture : MTGesture
```

Handles changing the pitch by dragging with two fingers.

-   `[type](#/s:11MapTilerSDK28MTTwoFingersDragPitchGestureV4typeAA13MTGestureTypeOvp)`
    
    Type of the gesture.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    public var type: MTGestureType
    ```
    
-   `[disable()](#/s:11MapTilerSDK28MTTwoFingersDragPitchGestureV7disableyyYaF)` Asynchronous
    
    Disables the gesture on the map.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    public func disable() async
    ```
    
-   `[enable()](#/s:11MapTilerSDK28MTTwoFingersDragPitchGestureV6enableyyYaF)` Asynchronous
    
    Enables the gesture on the map.
    
    #### Declaration
    
    Swift
    
    ```
    @MainActor
    public func enable() async
    ```
