# GetShowCollisionLayerMask

> Should the mask representing the layers be considered by the display filter.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## GetShowCollisionLayerMask()

Should the mask representing the layers be considered by the display filter.

```csharp
public static int GetShowCollisionLayerMask()
```

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### Remarks

Additional Resources: [LayerMask](/engine/6000.7/script-reference/unityengine/layermask.md).

## GetShowCollisionLayerMask(FilterWorkflow)

Should the mask representing the layers be considered by the display filter.

> **Warning:**
>
> **Removed.** Enum PhysicsVisualizationSettings.FilterWorkflow has been deprecated. Use APIs without this argument instead

```csharp
public static int GetShowCollisionLayerMask(PhysicsVisualizationSettings.FilterWorkflow filterWorkflow)
```

### Parameters

**** (\[FilterWorkflow]\(/engine/6000.7/script-reference/unityeditor/physicsvisualizationsettings/filterworkflow)):&#x20;

### Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### Remarks

Additional Resources: [LayerMask](/engine/6000.7/script-reference/unityengine/layermask.md).
