# Length

## Overview

![The Length Node.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-5541954b6d9a9b3f46c5bbf40644c02b82077a3a%2Flengthnode20241.png?alt=media)

**Length** returns the length of a **String**.

[**Scope**](../../overview#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The Length Node Attributes.](https://4263346935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLnh3x8s9fddWeG8TaAug%2Fuploads%2Fgit-blob-e3d2831b54922ee8572dd6323a851d6612fdf475%2Flengthattributes.png?alt=media)

| Attribute | Type       | Description                                                                           |
| --------- | ---------- | ------------------------------------------------------------------------------------- |
| `String`  | **String** | **String** whose length you wish to return, if none is given in the **Input Socket**. |

## Inputs

| Input             | Type       | Description                                                           |
| ----------------- | ---------- | --------------------------------------------------------------------- |
| _Pulse Input_ (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `String`          | **String** | **String** whose length you wish to return.                           |

## 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. |
| `Length`           | **Int**   | Length of the **String** received.                                                                                                     |
