---
title: "toolingGraphicsLayer"
description: "A [Modifier.Element] that adds a draw layer such that tooling can identify an element in the
drawn image."
type: "modifier"
---

<div class='type'>Compose Modifier</div>

<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun Modifier.toolingGraphicsLayer() =
    if (isDebugInspectorInfoEnabled) this.then(Modifier.graphicsLayer()) else this
```


A `Modifier.Element` that adds a draw layer such that tooling can identify an element in the
drawn image.



