---
title: shiftKey
framework: webkitjs
role: symbol
role_heading: Instance Property
path: webkitjs/gestureevent/1633677-shiftkey
---

# shiftKey

A Boolean value indicating whether the shift key is pressed.

## Declaration

```data
readonly attribute boolean shiftKey;
```

## Discussion

Discussion If true, the Shift key is pressed; otherwise, it is not. If there is no keyboard, this value is false.

## See Also

### 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)
- [target](webkitjs/gestureevent/1632473-target.md)
