# @extends

## #accelerometer

```cards
input.acceleration(Dimension.X);
input.onGesture(Gesture.Shake, () => {

});
input.rotation(Rotation.Pitch);
input.setAccelerometerRange(AcceleratorRange.OneG);
```

```package
accelerometer
```
