---
title: "SVGAnimatedNumber | 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 SVGAnimatedNumber

The **`SVGAnimatedNumber`** interface represents attributes of type which can be animated.

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

interface SVGAnimatedNumber {  
    [animVal](#animval): number;  
    [baseVal](#baseval): number;  
}

##### Index

### Properties[](#properties)

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

## Properties[](#properties-1)

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

animVal: number

The **`animVal`** read-only property of the SVGAnimatedNumber interface represents the animated value of an SVG element's numeric attribute.

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

### baseVal[](#baseval)

baseVal: number

The **`baseVal`** property of the SVGAnimatedNumber interface represents the base (non-animated) value of an animatable numeric attribute.

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