---
title: DeviceMotionEventAcceleration
slug: Web/API/DeviceMotionEventAcceleration
tags:
  - API
  - DeviceAcceleration
  - Experimental
  - Interface
  - NeedsExample
  - Reference
browser-compat: api.DeviceMotionEventAcceleration
---
{{securecontext_header}}{{ ApiRef("Device Orientation Events") }}{{SeeCompatTable}}

A **`DeviceMotionEventAcceleration`** object provides information about the amount of acceleration the device is experiencing along all three axes.

## Properties

- {{domxref("DeviceMotionEventAcceleration.x")}} {{readonlyInline}}
  - : The amount of acceleration along the X axis. **Read only.**
- {{domxref("DeviceMotionEventAcceleration.y")}} {{readonlyInline}}
  - : The amount of acceleration along the Y axis. **Read only.**
- {{domxref("DeviceMotionEventAcceleration.z")}} {{readonlyInline}}
  - : The amount of acceleration along the Z axis. **Read only.**

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
