# Set Blend Mode

## Set Blend Mode

This **Node** has different versions based on whether `Fill`,`Stroke`, or `Object` is set in the **Attributes**.

{% tabs %}
{% tab title="Fill" %}

## Overview

![The Set Fill Blend Mode Node with Normal Blend Mode.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-948b2f6a6384feea240091af0a2ad110ed39f092%2Fsetblendmodefillnode.png?alt=media)

The **Set Fill Blend Mode Node** allows the user to change an **Object** fill’s *blend mode*. This is chosen in the **Attributes** with `Blend Mode`.

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

## Attributes

![The Set Fill Blend Mode Node Node Attributes.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-29396a8ded4634dab8cbdac00da6b49074dbb153%2Fsetblendmodefillatts.png?alt=media)

| Attribute    | Type         | Description                                                                                                                                                                             |
| ------------ | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Target`     | **Dropdown** | The type of content that will have its *blend mode* changed. The options are `Fill`, `Stroke`, and `Object`. For this **Node**, `Fill` has been selected.                               |
| `Index`      | **Int**      | Determines the layer of the fill content, if one is not provided in the **Input Socket**. It works in a top to bottom way, where 0 is the top layer and increasing layers are below it. |
| `Blend Mode` | **Dropdown** | The desired *blend mode*. More information on these can be found [here](http://www.simplefilter.de/en/basics/mixmods.html).                                                             |

## 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** that will have its fill’s *blend mode* set.  |
| `Index`           | **Int**      | The index of the fill’s layer.                                        |

## 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. |
| {% endtab %}       |           |                                                                                                                                        |

{% tab title="Stroke" %}

## Overview

![The Set Stroke Blend Mode Node with Normal Blend Mode.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-af471d3233f32d768e76551c35541a7d2a030065%2Fsetblendmodestrokenode.png?alt=media)

**Set Stroke Blend Mode Node** allows the user to change an **Object** stroke's *blend mode*. This is chosen in the **Attributes** with `Blend Mode`.

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

## Attributes

![The Set Stroke Blend Mode Node Attributes.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-7bd78b04846604dd7cec7ef8404ad7294dc24604%2Fsetblendmodestrokeatts.png?alt=media)

| Attribute    | Type         | Description                                                                                                                                                                               |
| ------------ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Target`     | **Dropdown** | The type of content that will have its *blend mode* changed. The options are `Fill`, `Stroke`, and `Object`. For this **Node**, `Stroke` has been selected.                               |
| `Index`      | **Int**      | Determines the layer of the stroke content, if one is not provided in the **Input Socket**. It works in a top to bottom way, where 0 is the top layer and increasing layers are below it. |
| `Blend Mode` | **Dropdown** | The desired *blend mode*. More information on these can be found [here](http://www.simplefilter.de/en/basics/mixmods.html).                                                               |

## 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** that will have its stroke's *blend mode* set. |
| `Index`           | **Int**      | The index of the stroke's layer.                                       |

## 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. |
| {% endtab %}       |           |                                                                                                                                        |

{% tab title="Object" %}

## Overview

![The Set Object Blend Mode Node with Normal Blend Mode.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-a923a4870465b5fe059dc0c7892b9ee601c17fd8%2Fsetblendmodeobjectnode.png?alt=media)

**Set Object Blend Mode Node** allows the user to change an **Object's** *blend mode*. This is chosen in the **Attributes** with `Blend Mode`.

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

## Attributes

![The Set Object Blend Mode Node with Normal Blend Mode.](https://2561100106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ff6JZovzOqBctA4C1o76u%2Fuploads%2Fgit-blob-4d0decb324914b436956f12b83c40cd11720da54%2Fsetblendmodeobjectatts.png?alt=media)

| Attribute    | Type         | Description                                                                                                                                                 |
| ------------ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Target`     | **Dropdown** | The type of content that will have its *blend mode* changed. The options are `Fill`, `Stroke`, and `Object`. For this **Node**, `Object` has been selected. |
| `Blend Mode` | **Dropdown** | The desired *blend mode*. More information on these can be found [here](http://www.simplefilter.de/en/basics/mixmods.html).                                 |

## 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** that will have its stroke's *blend mode* set. |

## 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. |
| {% endtab %}       |           |                                                                                                                                        |
| {% endtabs %}      |           |                                                                                                                                        |

## External Links

* More on blend modes [*here*](http://www.simplefilter.de/en/basics/mixmods.html)
