---
title: AnimationEffect.updateTiming()
slug: Web/API/AnimationEffect/updateTiming
tags:
  - API
  - Animation
  - Method
  - Reference
  - Web Animations
  - waapi
  - web animations api
browser-compat: api.AnimationEffect.updateTiming
---
{{SeeCompatTable}} {{ APIRef("Web Animations API") }}

The `updateTiming()` method of the {{domxref("AnimationEffect")}} interface updates the specified timing properties for an animation effect.

## Syntax

```js
animation.updateTiming(timing);
```

### Parameters

- `timing`
  - : An object containing the timing properties to update.

### Return Value

None.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [Web Animations API](/en-US/docs/Web/API/Web_Animations_API)
- {{domxref("AnimationEffect")}}
- {{domxref("Animation")}}
