Extends Animation

Animation.Delay

A delay animation inserts a delay into another animation sequence.

Rectangle as square {} 
Animation.Sequential {
    Animation.Delay { duration: 1000 }
    Animation.Tween { target: square.x; to: 1000; duration: 500 }
}

property Int duration: 250

Sets the duration of the delay in milliseconds.

Animation.Delay {
    duration: 2000
}

property Int durationVariance: 0

Adds or subtracts a random variation to the duration of the delay. This is useful for situations where an exact delay in a repeating animation makes it feel too mechanical. For example the pause between a characters eyes blinking.

Animation.Delay {
    duration: 2000
    durationVariance: 1000
}