---
title: GestureEvent
framework: webkitjs
role: symbol
role_heading: Class
path: webkitjs/gestureevent
---

# GestureEvent

The GestureEvent class encapsulates information about a multi-touch gesture.

## Declaration

```data
interface GestureEvent
```

## Overview

Overview GestureEvent objects are high-level events that encapsulate the low-level TouchEvent objects. Both GestureEvent and TouchEvent events are sent during a multi-touch sequence. Gesture events contain scaling and rotation information allowing gestures to be combined, if supported by the platform. If not supported, one gesture ends before another starts. Listen for GestureEvent events if you want to respond to gestures only, not process the low-level TouchEvent objects. The different types of GestureEvent objects that can occur are: For example, for a two finger multi-touch gesture, the events occur in the following sequence: touchstart for finger 1. Sent when the first finger touches the surface. gesturestart. Sent when the second finger touches the surface. touchstart for finger 2. Sent immediately after gesturestart when the second finger touches the surface. gesturechange for current gesture. Sent when both fingers move while still touching the surface. gestureend. Sent when the second finger lifts from the surface. touchend for finger 2. Sent immediately after gestureend when the second finger lifts from the surface. touchend for finger 1. Sent when the first finger lifts from the surface. See TouchEvent if you want to process just low-level TouchEvent objects.

## Topics

### Accessing Properties

- [altKey](webkitjs/gestureevent/1630971-altkey.md)
- [ctrlKey](webkitjs/gestureevent/1629639-ctrlkey.md)
- [metaKey](webkitjs/gestureevent/1630762-metakey.md)
- [rotation](webkitjs/gestureevent/1633278-rotation.md)
- [scale](webkitjs/gestureevent/1632653-scale.md)
- [shiftKey](webkitjs/gestureevent/1633677-shiftkey.md)
- [target](webkitjs/gestureevent/1632473-target.md)

### Initializing

- [initGestureEvent](webkitjs/gestureevent/1634533-initgestureevent.md)

### Instance Properties

- [clientX](webkitjs/gestureevent/1777782-clientx.md)
- [clientY](webkitjs/gestureevent/1777798-clienty.md)
- [screenX](webkitjs/gestureevent/1777860-screenx.md)
- [screenY](webkitjs/gestureevent/1777971-screeny.md)

## Relationships

### Inherits From

- [UIEvent](webkitjs/uievent.md)
