# Set Alpha

## Overview

![The Set Alpha Node.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-c9b52983491c94d5b3011bfa4d32add9075d1553%2Fsetalphaupdatedimage.png?alt=media)

**Set Alpha** sets the value of a specified **Object's** `Alpha` **Attribute** .

The **Set Alpha** **Node** only works with **Objects** that have **Attributes** from the **Sprite** category, such as [**List**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2022.2/objects-and-types/scene-objects/list-widget.md), **Image Sequence**, **Web Sprite**, [**Sprite**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2022.2/objects-and-types/scene-objects/sprite.md), and [**Text**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2022.2/objects-and-types/scene-objects/text.md).

[**Scope**](https://docs.incari.com/incari-studio/2022.2/overview#scopes): **Scene**, **Function**, **Prefab**.

## Attributes

![The Set Alpha Node Attributes.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-5d607f05ec52a03ea2e949ca23a35a75298b3c98%2Fnode-set-alpha-attr.png?alt=media)

| Attribute       | Type         | Description                                                                                          |
| --------------- | ------------ | ---------------------------------------------------------------------------------------------------- |
| `Object`        | **ObjectID** | The **Object**, whose `Alpha` you wish to set, if one is not provided in the `Object ID` **Socket**. |
| `Default Alpha` | **Float**    | The default value of the **Object** color space's `Alpha` component.                                 |

## Inputs

| Input             | Type         | Description                                                           |
| ----------------- | ------------ | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Object ID`       | **ObjectID** | The ID of the **Object** whose `Alpha` value you would like to set.   |
| `Alpha`           | **Float**    | The desired value of the **Object's** `Alpha` **Attribute**.          |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |

## See Also

* [**Get Alpha**](https://docs.incari.com/incari-studio/2022.2/toolbox/incari/object/get-alpha)

## External Links

* [*Alpha compositing*](https://en.wikipedia.org/wiki/Alpha_compositing) on Wikipedia.
