#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Input](https://docs.dev.board.fun/unity/api/Board.Input.html "Board.Input"). [BoardInput](https://docs.dev.board.fun/unity/api/BoardInput.html "Board.Input.BoardInput")

## BoardInput.GetActiveContacts Method

| Overloads |  |
| --- | --- |
| [GetActiveContacts(BoardContactTypeMask)](https://docs.dev.board.fun/unity/api/BoardInput.GetActiveContacts.md#Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactTypeMask) "Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactTypeMask)") | Gets all currently active contacts on the Board. |
| [GetActiveContacts(BoardContactType[])](https://docs.dev.board.fun/unity/api/BoardInput.GetActiveContacts.md#Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactType[]) "Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactType[])" ) | Gets all currently active contacts on the Board. |

## BoardInput.GetActiveContacts(BoardContactTypeMask) Method

Gets all currently active contacts on the Board.

```
public static Board.Input.BoardContact[] GetActiveContacts(Board.Input.BoardContactTypeMask mask);
```

#### Parameters

`mask` [BoardContactTypeMask](https://docs.dev.board.fun/unity/api/BoardContactTypeMask.html "Board.Input.BoardContactTypeMask")

A mask to filter which [BoardContacts](https://docs.dev.board.fun/unity/api/BoardContact.html "Board.Input.BoardContact") to return.

#### Returns

[BoardContact](https://docs.dev.board.fun/unity/api/BoardContact.html "Board.Input.BoardContact") [\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array "System.Array")

An array of currently active [BoardContacts](https://docs.dev.board.fun/unity/api/BoardContact.html "Board.Input.BoardContact") whose [type](https://docs.dev.board.fun/unity/api/BoardContact.type.html "Board.Input.BoardContact.type") matches [mask](https://docs.dev.board.fun/unity/api/BoardInput.md#Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactTypeMask).mask "Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactTypeMask).mask").

## BoardInput.GetActiveContacts(BoardContactType[]) Method

Gets all currently active contacts on the Board.

```
public static Board.Input.BoardContact[] GetActiveContacts(params Board.Input.BoardContactType[] boardContactTypes);
```

#### Parameters

`boardContactTypes` [BoardContactType](https://docs.dev.board.fun/unity/api/BoardContactType.html "Board.Input.BoardContactType") [\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array "System.Array")

An array of [contact types](https://docs.dev.board.fun/unity/api/BoardContactType.html "Board.Input.BoardContactType") to filter which [BoardContacts](https://docs.dev.board.fun/unity/api/BoardContact.html "Board.Input.BoardContact") to return.

#### Returns

An array of currently active [BoardContacts](https://docs.dev.board.fun/unity/api/BoardContact.html "Board.Input.BoardContact") whose [type](https://docs.dev.board.fun/unity/api/BoardContact.type.html "Board.Input.BoardContact.type") is included in [boardContactTypes](https://docs.dev.board.fun/unity/api/BoardInput.md#Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactType[]).boardContactTypes "Board.Input.BoardInput.GetActiveContacts(Board.Input.BoardContactType[]).boardContactTypes").
