# IsOSXContextualMenuPlatform()

> Check whether the handling of contextual menu events needs to be adapted for OSX.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
protected bool IsOSXContextualMenuPlatform()
```

### Returns

| Type                                                          | Description                                                      |
| ------------------------------------------------------------- | ---------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if it needs to operate as it would on OSX. False otherwise. |
