---
title: "AnimationLoopOptionsMap | 3D JS | JavaScript maps SDK"
description: "Documentation for 3D objects"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable AnimationLoopOptionsMap`Const`

AnimationLoopOptionsMap: { loop: 2201; once: 2200; pingPong: 2202 } = ...

#### Type Declaration

-   ##### loop: 2201
    
    Play the animation in a loop.
    
-   ##### once: 2200
    
    Play the animation once.
    
-   ##### pingPong: 2202
    
    Play the animation forward until the end, then play it backwards until the start.
    

-   Defined in [src/types.ts:291](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L291)
