---
title: "SVGAnimatedBoolean | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> 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.

# Interface SVGAnimatedBoolean

The **`SVGAnimatedBoolean`** interface is used for attributes of type boolean which can be animated.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean)

interface SVGAnimatedBoolean {  
    [animVal](#animval): boolean;  
    [baseVal](#baseval): boolean;  
}

##### Index

### Properties[](#properties)

[animVal](#animval) [baseVal](#baseval)

## Properties[](#properties-1)

### `Readonly`animVal[](#animval)

animVal: boolean

The **`animVal`** read-only property of the SVGAnimatedBoolean interface represents the current animated value of the associated animatable boolean SVG attribute. If the attribute is not animated, animVal is the same as SVGAnimatedBoolean.baseVal.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean/animVal)

### baseVal[](#baseval)

baseVal: boolean

The **`baseVal`** property of the SVGAnimatedBoolean interface is the value of the associated animatable boolean SVG attribute in its base (none-animated) state. It reflects the value of the associated animatable boolean attribute when no animations are applied.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean/baseVal)
