---
title: cancel()
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: tabletopkit/tabletopinteraction/cancel()
---

# cancel()

Cancels the current interaction. All actions added to the interaction will also be cancelled.

## Declaration

```swift
func cancel()
```

## 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)
- [addActions(_:)](tabletopkit/tabletopinteraction/addactions(_:).md)
- [toss(equipmentID:as:linearVelocity:angularVelocity:)](tabletopkit/tabletopinteraction/toss(equipmentid:as:linearvelocity:angularvelocity:).md)
- [end()](tabletopkit/tabletopinteraction/end().md)
