<!--
{
  "availability" : [
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/MoveEquipmentAction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit19MoveEquipmentActionV"
  },
  "title" : "MoveEquipmentAction"
}
-->

# MoveEquipmentAction

An action that moves a piece of equipment on the table or changes the grouping.

```
struct MoveEquipmentAction
```

## Overview

To create a move equipment action, use the [`moveEquipment(_:childOf:order:pose:context:)`](/documentation/TabletopKit/TabletopAction/moveEquipment(_:childOf:order:pose:context:)) or the [`moveEquipment(matching:childOf:order:pose:context:)`](/documentation/TabletopKit/TabletopAction/moveEquipment(matching:childOf:order:pose:context:)) static method.

## Topics

### Getting the equipment in the action

[`var equipmentID: EquipmentIdentifier`](/documentation/TabletopKit/MoveEquipmentAction/equipmentID)

The ID of the equipment being moved.

[`var parentID: EquipmentIdentifier`](/documentation/TabletopKit/MoveEquipmentAction/parentID)

The equipment ID the moved equipment is being grouped under

[`var playerID: Player.ID?`](/documentation/TabletopKit/MoveEquipmentAction/playerID)

The ID of the player who is moving the equipment.

[`var order: MoveEquipmentAction.Order?`](/documentation/TabletopKit/MoveEquipmentAction/order-swift.property)

The order in which the equipment should be inserted.

[`enum Order`](/documentation/TabletopKit/MoveEquipmentAction/Order-swift.enum)

The possible orders of equipment.

### Getting the position of the equipment

[`var pose: TableVisualState.Pose2D?`](/documentation/TabletopKit/MoveEquipmentAction/pose)

The position the equipment being moved to

### Getting game-specific information

[`var context: UInt64`](/documentation/TabletopKit/MoveEquipmentAction/context)

An integer value that your game uses.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`TabletopAction`](/documentation/TabletopKit/TabletopAction)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)