# ClosureControlTrait.EngageStateChanged


```
interface ClosureControlTrait.EngageStateChanged : ClusterStruct
```

<br />

Known direct subclasses [ClosureControl.EngageStateChangedEvent](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControl.EngageStateChangedEvent)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControl.EngageStateChangedEvent` |   |

*** ** * ** ***

Generated when the `MainStateEnum` attribute changes state to and from `Disengaged`, indicating if the actuator is engaged or disengaged.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.EngageStateChanged#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.EngageStateChanged#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ClosureControlTrait.EngageStateChanged#engageValue()` Whether the actuator is in an engaged state, making actuator movements possible, or in a disengaged state, rendering the actuator immobile. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### engageValue

```
val engageValue: Boolean?
```

Whether the actuator is in an engaged state, making actuator movements possible, or in a disengaged state, rendering the actuator immobile.