# Group

## Overview

![The Group Node.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-e19d4e6061e27827a041c30e0e870d02fa9bcaf0%2FGroupNew.png?alt=media)

A **Group Node** is used as a container for other **Logic**. As the color, opacity, size, and name can all be changed, it is very useful for management and organization.

The easiest way to create a **Group** is to select some **Nodes** and then press `Ctrl` + `G`, but it is also available in the right-click context menu.

Another advantage of the **Group Node** is that by changing the `Name` **Attribute** you can easily create descriptive comments for your blocks of **Logic**. When you zoom out beyond a certain threshold within the **Logic Editor**, text on **Nodes** is no longer rendered, however, the _names_ of the **Group Nodes** are.

![](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-2b27f0d218f4b4a5ab617610576915816dd9e430%2Fnode-group-example.png?alt=media)

[**Scope**](../../overview#scopes): **Project**, **Scene**, **Function**.

## Attributes

### Color

| Attribute       | Type      | Description                                                                                                                                                                                                              |
| --------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Color`         | **Color** | The **Color** of the **Group Node**.                                                                                                                                                                                     |
| `ZIndex`        | **Int**   | The `ZIndex` determines the stack order of the **Group** **Node**. Therefore a **Group** **Node** with a higher `ZIndex` will be stacked in front of a **Group** **Node** with a lower `ZIndex` in the **Logic Editor**. |
| `Content Alpha` | **Int**   | The _alpha_ value of the **Group** **Node**'s color space.                                                                                                                                                               |

## Usage

![Group Node Usage](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-372394fd353b0ff4695443c1360e63c42cbf7330%2Fgroup%20\(3\)%20\(4\)%20\(4\)%20\(4\)%20\(1\)%20\(1\)%20\(2\)%20\(1\).gif?alt=media)
