# ColorControlTrait.StopMoveStepCommand


```
object ColorControlTrait.StopMoveStepCommand : CommandDescriptor
```

<br />

*** ** * ** ***

Stop a `MoveTo`, Move, or Step command that is currently in process.

The `currentHue`, `enhancedCurrentHue`, and `currentSaturation` attributes are left at their present value upon receipt of this command, and the `remainingTime` attribute is set to `0`.

| See also |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlCommands#stopMoveStep(com.google.home.matter.standard.ColorControlTrait.OptionsBitmap,com.google.home.matter.standard.ColorControlTrait.OptionsBitmap)` | Use this command from the `trait(ColorControl)` method. |

## Summary

| ### Nested types |
|---|
| `class https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand.Request : https://developers.home.google.com/reference/kotlin/com/google/home/ClusterStruct` The request payload for the StopMoveStep command. |
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand.Request.CommandFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this command's request fields. |

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/Field?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand#getCommandRequestFieldByName(kotlin.String)(name: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` |

| ### Public properties |
|---|---|
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand#commandId()` Unique id corresponding to the command. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand#commandName()` Human-friendly name of the command. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-nothing/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ColorControlTrait.StopMoveStepCommand#responseId()` Optional (for Matter only) ScopedCommandId corresponding to the command response (if any). |

## Public functions

### getCommandRequestFieldByName

```
@HomeExperimentalGenericApi
open fun getCommandRequestFieldByName(name: String): Field?
```

## Public properties

### commandId

```
open val commandId: String
```

Unique id corresponding to the command.

### commandName

```
open val commandName: String
```

Human-friendly name of the command.

### responseId

```
open val responseId: Nothing?
```

Optional (for Matter only) ScopedCommandId corresponding to the command response (if any).