# Group Manager

The `GroupManager` system enables the management of visual groups within the PlayMode. It facilitates showing, hiding, and toggling visibility of game objects and meshes based on predefined group settings. The `GroupManager` is part of the realvirtual prefab.

<figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-bafe30ef5f2ab4ac0c10b1f139de4fbf99c32990%2FGroupManager.png?alt=media" alt=""><figcaption></figcaption></figure>

Under the "Visible Groups" section, you can configure settings for each group to be available in PlayMode. The parameters are:

* Group Name: Select a group from the dropdown, which lists all scene groups.
* Disable Game Object On Hide: Choose whether to disable the GameObject when the group is hidden.
* Disable Mesh On Hide: Choose whether to disable the mesh renderer when the group is hidden.
* Inactive On Start: Specify if the group should be hidden at the start of the application.

### Group Window in PlayMode

During PlayMode the GroupWindow open by clicking on the GroupWindow Button in the main toolbar.

<div align="left"><figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-5b3784b8baa894ac802fcd6c8f9eebf2d2618d92%2FGroupWindowPlayMode.png?alt=media" alt=""><figcaption></figcaption></figure></div>

Each selectable group is listed. Groups with GameObjects disabled on hide are marked with a circle icon, while those using the mesh renderer are marked with an eye icon.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.realvirtual.io/basics/runtime-ui/group-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
