---
title: shiftKey
framework: webkitjs
role: symbol
role_heading: Instance Property
path: webkitjs/touchevent/1634033-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/touchevent/1633489-altkey.md)
- [ctrlKey](webkitjs/touchevent/1629120-ctrlkey.md)
- [metaKey](webkitjs/touchevent/1632828-metakey.md)
- [changedTouches](webkitjs/touchevent/1629351-changedtouches.md)
- [targetTouches](webkitjs/touchevent/1632803-targettouches.md)
- [touches](webkitjs/touchevent/1632644-touches.md)
- [rotation](webkitjs/touchevent/1634480-rotation.md)
- [scale](webkitjs/touchevent/1632169-scale.md)
