# GetShowPhysicsSceneMask

> Return a mask representing scenes that are enabled by display filter

## Definition

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

## GetShowPhysicsSceneMask()

Return a mask representing scenes that are enabled by display filter

```csharp
public static int GetShowPhysicsSceneMask()
```

### Returns

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

### Remarks

Get a mask representing scenes that are enabled by display filter

## GetShowPhysicsSceneMask(FilterWorkflow)

Return a mask representing scenes that are enabled by display filter

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

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

### Parameters

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

### Returns

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

### Remarks

Get a mask representing scenes that are enabled by display filter
