# Animatie pauzeren: delay()

In een sequentiële animatie kan u tussen de opeenvolgende stappen een pauze inlassen met de methode `delay()`. De vertraging wordt zoals steeds opgegeven in milliseconden.

{% hint style="success" %}
★ Bekijk de animatie die bij de knop **animate div4** hoort.
{% endhint %}

```javascript
$(function() {
    var snelheid = 2000;
    $('#anim4').click(function(){
        $('#div4').animate({ 
            width: '50%',
            left: 200,
            opacity: 0.25
        }, snelheid).delay(3000).slideUp(snelheid);
        });
});
```

In bovenstaand voorbeeld zit er tussen beide animaties een wachttijd van 3 seconden.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://1itf.gitbook.io/jquery/7-animaties-en-effecten/animatie-pauzeren-delay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
