# Sandbox.Animation.GraphBuilder.IdCompare

## Overload 1

```csharp
Node IdCompare(Node id, IEnumerable<string> matchIds, bool mustMatch = True)
```

### Parameters

- `id` (`Node`)
- `matchIds` (`IEnumerable<string>`)
- `mustMatch` (`bool`), default `True`

### Returns

`Node`

## Overload 2

```csharp
Node IdCompare(Node id, string matchId, bool mustMatch = True)
```

### Parameters

- `id` (`Node`)
- `matchId` (`string`)
- `mustMatch` (`bool`), default `True`

### Returns

`Node`

Declared in [Sandbox.Animation.GraphBuilder](/api/Sandbox.Animation.GraphBuilder).
Assembly: `Sandbox.Engine`.
