---
title: "addActions(_:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tabletopinteraction/addactions(_:)"
---

# addActions(_:)

Submit a collection of actions tied to this interaction. If the interaction gets canceled, all the associated actions will be automatically rolled back.

## Declaration

```swift
func addActions(_ actions: some Sequence<any TabletopAction>)
```

## Parameters

- `actions`: The actions to submit.

## See Also

### Performing actions

- [TabletopInteraction.Delegate](tabletopkit/tabletopinteraction/delegate.md)
- [TabletopInteraction.TossOutcome](tabletopkit/tabletopinteraction/tossoutcome.md)
- [addAction(_:)](tabletopkit/tabletopinteraction/addaction(_:)-1cety.md)
- [addAction(_:)](tabletopkit/tabletopinteraction/addaction(_:)-4rx16.md)
- [toss(equipmentID:as:linearVelocity:angularVelocity:)](tabletopkit/tabletopinteraction/toss(equipmentid:as:linearvelocity:angularvelocity:).md)
- [end()](tabletopkit/tabletopinteraction/end().md)
- [cancel()](tabletopkit/tabletopinteraction/cancel().md)
