---
title: UpdateEquipmentAction
framework: tabletopkit
role: symbol
role_heading: Structure
path: tabletopkit/updateequipmentaction
---

# UpdateEquipmentAction

An action that updates properties of equipment on the table.

## Declaration

```swift
struct UpdateEquipmentAction<State> where State : EquipmentState
```

## Overview

Overview To create an update equipment action, use the updateEquipment(_:state:context:) or a similar static method.

## Topics

### Getting the equipment in the action

- [equipmentID](tabletopkit/updateequipmentaction/equipmentid.md)

### Getting the state of the equipment

- [newState](tabletopkit/updateequipmentaction/newstate.md)

### Getting the context and player identifier

- [context](tabletopkit/updateequipmentaction/context.md)
- [playerID](tabletopkit/updateequipmentaction/playerid.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [TabletopAction](tabletopkit/tabletopaction.md)

## See Also

### Actions

- [TabletopAction](tabletopkit/tabletopaction.md)
- [MoveEquipmentAction](tabletopkit/moveequipmentaction.md)
- [SetTurnAction](tabletopkit/setturnaction.md)
- [UpdateCounterAction](tabletopkit/updatecounteraction.md)
- [CreateBookmarkAction](tabletopkit/createbookmarkaction.md)
- [CustomAction](tabletopkit/customaction.md)
