# Set Texture

## Overview

![The Set Texture Node.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-d7ec76bcd4d23434cd63cdd799837627473bd724%2Fsettexturenode.png?alt=media)

The **Set Texture Node** applies a given *texture* to an **Object**. This is only possible for **Objects** which have either a `Diffuse Texture` or `Opacity Map` **Attribute**, either of which can be specified in the **Node's** **Attributes**. These can be applied in the **Logic Editor** by dragging the desired **Asset** from the [**Asset Database**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2023.1/modules/asset-database.md) (which can be populated with **Assets** by dragging them from the [**Asset Mananger**](https://docs.incari.com/incari-studio/2023.1/modules/asset-manager)).

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

## Attributes

![The Set Texture Node Attributes.](https://2628349686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fwnv17cpjDin2deSlOz0z%2Fuploads%2Fgit-blob-b87aee7eed30e9ac11cad9a8a36489aea092b417%2Fsettextureattributes.png?alt=media)

| 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. |
| `Texture type`     | Drop-Down | The user selects either `Diffuse Texture` or `Opacity Map` depending on the required **Attribute** of the given **Object**.            |

## Inputs

| 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. |
| `Object ID`        | **ObjectID**  | The **Object** that will have its *texture* set.                                                                                       |
| `Texture ID`       | **TextureID** | The desired *texture* that will be set for the selected **Object**.                                                                    |

## 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. |
