# Miscellaneous Group Functions

In addition to functions mentioned under this category, there are *Group Functions* that are either not available as an executable function itself, or that are a sub-function of a *Layer Function*:

## Group Opacity

**(Added in** [**version 1.1**](https://workflower.constantin-maier.com/releases#1-1)**)**

![Group Effect with 'Group Opacity' enabled](https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrCmGZz5honeHZINyR%2Fuploads%2FMirWC68yClehv7aqDJVM%2FGroup---Effect.jpg?alt=media\&token=4fb6ed2b-aa4d-4f35-b7f8-d3bc92ba3c5e)

As of [version 1.1](https://workflower.constantin-maier.com/releases#1-1), you have the ability to adjust the opacity of all group layers at once.

On the *Group || Settings* effect, enable *Group Opacity* and execute [Refresh Layout](https://workflower.constantin-maier.com/main-functions/layout#refresh-layout). *Workflower* will then add an expression to the opacity of the layers and it will add a special opacity slider effect to all group layers as it does with [Prime Clone](https://workflower.constantin-maier.com/layer-functions/cloning#prime-clone) layers. Execute [Reveal Layer Opacity](https://workflower.constantin-maier.com/layer-functions/miscellaneous-layer-functions#reveal-layer-opacity) (Win: Alt+F1, Mac: Ctrl+3) to reveal the special opacity slider on each layer in the timeline. To reveal the *Group Opacity* slider on the *Group || Settings* effect in the timeline, you can execute *Reveal Layer Opacity* too.

![Group Layer with revealed Opacity Slider](https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrCmGZz5honeHZINyR%2Fuploads%2FlqCU4uFrUXAL5u7KMsG5%2FGroup---Opacity-Slider.jpg?alt=media\&token=58ca910f-4600-42d4-853f-2efd1cf945e5)

When you move layers into/out of the group, you need to execute *Refresh Layout* so that these attributes get added/removed to/from the layers.

If you disable the *Group || Settings* effect while using *Group Opacity*, the visibility of the whole group will be disabled.

{% hint style="info" %}
Please be aware that *Group Opacity* will not look the same as changing the opacity on a precomp. Since *Workflower* will adjust the opacity of every layer individually, the opacities of layers that intersect will add up. For example, if the *Group Opacity* is 50% and two layers intersect, the resulting opacity on the intersected area will amount to 75%.
{% endhint %}

True 3D objects in AE's *Advanced 3D* renderer cannot contain effects. That's why *Workflower* **cannot** add a special opacity slider effect to those layers. So in case true 3D objects are within a group with group opacity, you can control the individual opacity of those layers by clicking on the value itself and modifying the property before the expression.

### Layers respect Group In/Out Point

Additionally, you can also enable *Layers respect Group In/Out*. Using this option, all layers outside of the group header's in and out point won't be visible.

{% hint style="warning" %}
Please note that *Layers respect Group In/Out* will disable [Automatic Trimming](https://workflower.constantin-maier.com/main-functions/layout#automatic-trimming) of the group header to its contained layers.
{% endhint %}

{% hint style="warning" %}
If your group layers have time-stretch enabled, the result might be off by a frame. (Maybe this is fixable in a future release.)
{% endhint %}

### Known *Group Opacity* Bugs

{% hint style="warning" %}
[There are known *Group Opacity* bugs. Click here to read up on their descriptions as well as potential workarounds.](https://workflower.constantin-maier.com/known-bugs#pre-render-bugs)
{% endhint %}

## Center Group Header

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrCmGZz5honeHZINyR%2Fuploads%2FVe3wnm0VB5JC1paW5moI%2Fdoc---center.png?alt=media&#x26;token=b8672cca-f9ea-492b-a006-dd88f2c83d30" alt=""></div>

**(Added in** [**version 1.1**](https://workflower.constantin-maier.com/releases#1-1)**)**

Centers a group header at the average position of the group layers' anchor points (Win: Ctrl+Alt+Shift+9, Mac: no default shortcut).

Select either a group header or a layer contained in a group and execute *Center Group Header* to move the group's header to the center of all layers. Note that this will only take the position at the current time into account.

When keyframes are on the *Position* property of the group header, they will be moved relative to the new position.

## Relabel Group

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MQw5XX8KD2Om8Lm_Hi7%2F-MQw9Gh459F5etAcAj0A%2FIcons-A_20.png?alt=media&#x26;token=25008cfa-50ee-482c-a5cf-46618d7d3c85" alt=""></div>

To relabel an entire group, select either the group header or a layer contained in the group and execute [Relabel Layer/s](https://workflower.constantin-maier.com/layer-functions/relabeling#relabel-layer-s).

## Create Group Matte

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MQw5XX8KD2Om8Lm_Hi7%2F-MQw7fFF5SiLM1Pa8hfu%2FIcons-A_16.png?alt=media&#x26;token=9c96e55a-09d4-4258-ba7b-9977adbb25dc" alt=""></div>

To create a [Group Matte](https://workflower.constantin-maier.com/layer-functions/matting#group-matte), execute [Create Matte](https://workflower.constantin-maier.com/layer-functions/matting#create-matte) while a group header is selected.

## Create Group Clone

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MQw5XX8KD2Om8Lm_Hi7%2F-MQw7nw2z6xNvSh8ug7z%2FIcons-A_17.png?alt=media&#x26;token=133abd2c-2b8d-45df-953a-07175890d9ff" alt=""></div>

To create a [Group Clone](https://workflower.constantin-maier.com/layer-functions/cloning#group-clone), execute [Clone and Precomp](https://workflower.constantin-maier.com/layer-functions/cloning#clone-and-precomp) while a group header is selected.

## Create Group Linked Adjustment Layer

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MQw5XX8KD2Om8Lm_Hi7%2F-MQw8mzIuBqfYdiy_Dd2%2FIcons-A_18.png?alt=media&#x26;token=6e356de2-918e-49a0-8a67-cffc5022cc45" alt=""></div>

To create a [Group Linked Adjustment Layer](https://workflower.constantin-maier.com/layer-functions/adjustment-layers#group-linked-adjustment-layers), execute [Create Linked Adjustment Layer](https://workflower.constantin-maier.com/layer-functions/adjustment-layers#create-linked-adjustment-layer) while a group header is selected.

## Create Group Matted Adjustment Layer

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MQw5XX8KD2Om8Lm_Hi7%2F-MQw8qFjtwmAtPgZv_9C%2FIcons-B_18.png?alt=media&#x26;token=ab8e1123-0f62-4f6a-b599-c3a688ca6cec" alt=""></div>

To create a [Group Matted Adjustment Layer](https://workflower.constantin-maier.com/layer-functions/adjustment-layers#group-matted-adjustment-layer), execute [Create Matted Adjustment Layer](https://workflower.constantin-maier.com/layer-functions/adjustment-layers#create-matted-adjustment-layer) while a group header is selected.

## Pre-Render Group

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrCmGZz5honeHZINyR%2Fuploads%2FF9KQmrqtOGdZenjb70GB%2Ficon_prerender_00000.png?alt=media&#x26;token=92c4f2a9-fdce-46ac-b60e-8993e97444e7" alt="" width="30"></div>

To pre-render a group, execute [Pre-Render](https://workflower.constantin-maier.com/layer-functions/pre-rendering#pre-render) while a group header is selected.

## Convert Group to Precomp

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrCmGZz5honeHZINyR%2Fuploads%2F2BvvFjLGa6nCfM6yQyhu%2Fdoc---precompose.png?alt=media&#x26;token=7e5ab2b2-3512-4fe8-9cb7-67439c82d7f0" alt=""></div>

**(Added in** [**version 1.1**](https://workflower.constantin-maier.com/releases#id-1-1)**)**

To [convert a group to a precomp](https://workflower.constantin-maier.com/layer-functions/precomposing#converting-a-group-to-a-precomp), select the group header and execute [Precompose](https://workflower.constantin-maier.com/layer-functions/precomposing#precompose).

## Convert Precomp to Group

<div align="left"><img src="https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQrCmGZz5honeHZINyR%2Fuploads%2F2BvvFjLGa6nCfM6yQyhu%2Fdoc---precompose.png?alt=media&#x26;token=7e5ab2b2-3512-4fe8-9cb7-67439c82d7f0" alt=""></div>

**(Added in** [**version 1.1**](https://workflower.constantin-maier.com/releases#id-1-1)**)**

To [convert a precomp to a group](https://workflower.constantin-maier.com/layer-functions/precomposing#converting-a-precomp-to-a-group), select the precomp layer in your comp and execute [Precompose](https://workflower.constantin-maier.com/layer-functions/precomposing#precompose).

## Order of Group Clones, Group Mattes, and Group Linked Adjustment Layers

![Order of Group Elements](https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MglivCjNcTujvr086O2%2F-Mglj9m92XLZ_cjehvAM%2FAll-Clones-Adj-Mat_Order.jpg?alt=media\&token=e577044f-2a1e-4e57-93f7-ef985e8d91d6)

The order of *Group Clones*, *Group Mattes,* and *Group Linked Adjustment Layers* is **not** customizabl&#x65;*.* Going from the top-most layer, it is always:

1. *Group Linked Adjustment Layer*
2. *Group Matte*
3. *Group Clone*

This is because a *Group Matte* and/or *Group Linked Adjustment Layer* will have the same effect on top of the *Group Clone* as them being contained in there, so most of the time there is no reason for the order to be different, and the performance and layer/effect clarity is improved that way since matte layers and adjustment layer effects don't have to be copied to all group layers. (If you still want to change the order of these group elements, there is a [way](#changing-the-order-of-group-elements).)

If you move the group elements around and execute [Refresh Connections](https://workflower.constantin-maier.com/main-functions/connections#refresh-connections) on one of them, they will be reordered in the order described above.

### Changing the Order of Group Elements

![Group Linked Adjustent Layer and Group Matte contained in a Group Clone](https://3790197535-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MQrCmGZz5honeHZINyR%2F-MglivCjNcTujvr086O2%2F-Mglj6BZqVyvh_WjkcfR%2FAll-Clones-Adj-Mat_Solution.jpg?alt=media\&token=6393a788-c286-454e-8054-8b63a6fe2374)

There are a few situations when you want the *Group Matte* and/or *Group Linked Adjustment Layer* to be contained the *Group Clone*. (If you want to reference a *Group Clone* by an effect, for example, and you want the matte to be baked into the clone already.) The solution to this is as follows:

Since sub-groups can contain their own *Group Clones*, *Group Mattes,* and/or *Group Linked Adjustment Layers*, you can create a sub-group that holds a *Group Linked Adjustment Layer* and/or *Group Matte* while the higher group holds a *Group Clone*.
