# Set Text

## Overview

![The Set Text Node.](https://879976444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-41739140%2Fuploads%2Fgit-blob-0e8252108a5d474caaefc0846219fb7170fa5bbb%2Fset-text.PNG?alt=media)

**Set Text** sets the text ofa **Text** **Object**.

The **Set Text** node only works for **Text Objects**.

## Attributes

| Attribute      | Type         | Description                                                                                                                   |
| -------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| `Object`       | **ObjectID** | The **Text** **Object** whose `Text` **Attribute**'s value is to be set if one is not provided in the `Object ID` **Socket**. |
| `Default Text` | **String**   | The default value of the **Text Object**, if no value is provided.                                                            |

## 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 **Text** **Object**.                                    |
| `Text`            | **String**   | The desired value of the **Text Object**'s `Text` **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 Text**](https://github.com/cgi-studio-gmbh/incari-doc/tree/66656c2442958de634bc73f77b533a03f83df0fb/toolbox/incari/object/get-text.md)
* [**Text**](https://github.com/cgi-studio-gmbh/incari-doc/tree/66656c2442958de634bc73f77b533a03f83df0fb/toolbox/incari/object/objects/scene-objects/sprites/text.md)

## External Links

* \[*Strings*]\(<https://en.wikipedia.org/wiki/String_(computer_science>))
