# InterruptMatchTarget

> Interrupts the automatic target matching.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

## InterruptMatchTarget()

Interrupts the automatic target matching.

```csharp
public void InterruptMatchTarget()
```

### Remarks

CompleteMatch will make the gameobject match the target completely at the next frame.

## InterruptMatchTarget(bool)

Interrupts the automatic target matching.

```csharp
public void InterruptMatchTarget(bool completeMatch)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

CompleteMatch will make the gameobject match the target completely at the next frame.
