---
title: DockAccessory.MotionState
framework: dockkit
role: symbol
role_heading: Structure
path: dockkit/dockaccessory/motionstate
---

# DockAccessory.MotionState

An event that indicates the state of a dock accessory’s current position and speed.

## Declaration

```swift
struct MotionState
```

## Overview

Overview This event indicates the dock accessory’s current velocity and position along each supported axis of rotation. For more information, see motionStates.

## Topics

### Getting properties

- [angularPositions](dockkit/dockaccessory/motionstate/angularpositions.md)
- [angularVelocities](dockkit/dockaccessory/motionstate/angularvelocities.md)
- [timestamp](dockkit/dockaccessory/motionstate/timestamp.md)
- [error](dockkit/dockaccessory/motionstate/error.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting position and limits

- [motionStates](dockkit/dockaccessory/motionstates-swift.property.md)
- [limits](dockkit/dockaccessory/limits-swift.property.md)
- [DockAccessory.MotionStates](dockkit/dockaccessory/motionstates-swift.struct.md)
- [DockAccessory.Limits](dockkit/dockaccessory/limits-swift.struct.md)
