---
name: "up:motion:finish"
area: "API"
kind: "DOM event"
parent: "up.motion module"
url: "https://unpoly.com/api/up:motion:finish"
---
<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:finish

This event is emitted on an animating element by [`up.motion.finish()`](https://unpoly.com/api/up.motion.finish.md) to request the animation to instantly finish and skip to the last frame.

Custom [animation](https://unpoly.com/api/up.animation.md) and [transition](https://unpoly.com/api/up.transition.md) functions are expected to instantly settle their promises when this event is observed on the animating element.

> <nav aria-label="Guides">
>
> - [Learn: Controlling motion](https://unpoly.com/learn/controlling-motion.md#finishing-running-animations)
>
> </nav>
>
> #### Important
>
> The `up:motion:finish` event does **not** signal the end of an animation. For this see [awaiting postprocessing](https://unpoly.com/learn/render-lifecycle.md#postprocessing).

---

## Event properties {#properties}

### event.target {#event.target}

(required)

The animating element.

Type: [Element](https://developer.mozilla.org/en-US/docs/Web/API/Element)

