### BoardContactPhaseExtensions.IsEndedOrCanceled(this BoardContactPhase) Method

Gets a value that indicates whether the phase indicates that a contact has ended.

```
public static bool IsEndedOrCanceled(this Board.Input.BoardContactPhase phase);
```

#### Parameters

`phase` [BoardContactPhase](https://docs.dev.board.fun/unity/api/BoardContactPhase.html "Board\.Input\.BoardContactPhase")  
The contact phase.

#### Returns

[System.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean "System\.Boolean")  
[true](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/bool "https://docs\.microsoft\.com/en-us/dotnet/csharp/language-reference/builtin-types/bool") if [phase](https://docs.dev.board.fun/unity/api/BoardContactPhaseExtensions.IsEndedOrCanceled(thisBoardContactPhase).md#Board.Input.BoardContactPhaseExtensions.IsEndedOrCanceled(thisBoard.Input.BoardContactPhase).phase "Board\.Input\.BoardContactPhaseExtensions\.IsEndedOrCanceled\(this Board\.Input\.BoardContactPhase\)\.phase") indicates a contact that has ended; otherwise, [false](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/bool "https://docs\.microsoft\.com/en-us/dotnet/csharp/language-reference/builtin-types/bool").
