# RenderObjectSetContains(GameObject)

> The function tests whether a GameObject is in the RenderPickingArgs.renderObjectSet.

## Definition

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

```csharp
public bool RenderObjectSetContains(GameObject go)
```

### Parameters

**** (\[GameObject]\(/engine/6000.5/script-reference/unityengine/gameobject)): The GameObject to test.

### Returns

| Type                                                          | Description                                                                                                                                                                                |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the GameObject is in either the ignore set or the filter set depending on [renderPickingType](/engine/6000.5/script-reference/unityeditor/renderpickingargs/renderpickingtype.md). |
