---
title: "contacts(of:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tablevisualstate/contacts(of:)"
---

# contacts(of:)

Returns all contacts for the current update of the physics simulation for a specified equipment type.

## Declaration

```swift
func contacts<E>(of type: E.Type) -> some Sequence<TableVisualState.Contact> where E : Equipment

```

## See Also

### Representing collision states

- [contacts](tabletopkit/tablevisualstate/contacts.md)
- [TableVisualState.Contact](tabletopkit/tablevisualstate/contact.md)
