---
name: "up.motion.isEnabled"
area: "API"
kind: "JavaScript function"
parent: "up.motion module"
visibility: "deprecated"
url: "https://unpoly.com/api/up.motion.isEnabled"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.motion module](https://unpoly.com/api/up.motion.md)</nav>

# up.motion.isEnabled()

**This feature has been deprecated**. Use [`up.motion.config.enabled`](https://unpoly.com/api/up.motion.config.md#config.enabled) instead.

Load [`unpoly-migrate.js`](https://unpoly.com/changes/upgrading.md) to polyfill deprecated features.

Returns whether Unpoly will perform animations and transitions.

Set [`up.motion.config.enabled = false`](https://unpoly.com/api/up.motion.config.md#config.enabled) in order to disable animations globally.

---

## Return value {#return-value}

Whether animation is enabled.

Type: boolean

