---
title: "LocalAbsoluteTonalElevation"
description: "CompositionLocal containing the current absolute elevation provided by [Surface] components. This
absolute elevation is a sum of all the previous elevations. Absolute elevation is only used for
calculating surface tonal colors, and is *not* used for drawing the shadow in a [Surface]."
type: "property"
---

<div class='type'>Property</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val LocalAbsoluteTonalElevation = compositionLocalOf { 0.dp }
```


CompositionLocal containing the current absolute elevation provided by `Surface` components. This
absolute elevation is a sum of all the previous elevations. Absolute elevation is only used for
calculating surface tonal colors, and is *not* used for drawing the shadow in a `Surface`.



