---
title: "ToggleableStateKey"
description: "This key is used to access the current checked value for actions that are triggered by compound
button interactions (e.g. [CheckBox], [Switch]). This key is used to retrieve the value from the
[ActionParameters] passed to the action."
type: "property"
---

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


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

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public val ToggleableStateKey: ActionParameters.Key<Boolean>
```


This key is used to access the current checked value for actions that are triggered by compound
button interactions (e.g. `CheckBox`, `Switch`). This key is used to retrieve the value from the
`ActionParameters` passed to the action.



