GMImage.GetAnimationDelay
-------------------------

Queries the animation delay.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.GetAnimationDelay"; ImageRef ) 

**MBS**( **"GMImage.GetAnimationDelay";** /\* Queries the animation delay. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |

### Result

Returns animation delay value as number.

### Description

Queries the animation delay.  
Time in 1/100ths of a second which must expire before displaying the next image in an animated sequence.  
  
Time in 1/100ths of a second (0 to 65535) which must expire before displaying the next image in an animated sequence. This option is useful for regulating the animation of a sequence of GIF images within Netscape.  
### See also

- [GMImage.SetAnimationDelay](GMImageSetAnimationDelay.md)

This function checks for a license.

Created 18th August 2014 , last changed 11st September 2017

  
[GMImage.GetAdjoin](GMImageGetAdjoin.md) - [GMImage.GetAnimationIterations](GMImageGetAnimationIterations.md)

[HTML Version](GMImageGetAnimationDelay.shtml)