# Set Stroke Width

## Overview

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

The **Set Stroke Width Node** sets the `Stroke` width of the inputted **Object** from a **Scene2D**.

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

## Attributes

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

| Attribute | Type      | Description                                                                                             |
| --------- | --------- | ------------------------------------------------------------------------------------------------------- |
| `Width`   | **Float** | The width to be set for the *2D* **Object's** `Stroke`, if one is not provided in the **Input Socket**. |

## 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 *2D* **Object** that will have its `Stroke` width set.  |
| `Width`           | **Float**    | The desired `Stroke` width of the inputted *2D* **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. |

## See Also

* [**Get Stroke Width**](https://docs.incari.com/incari-studio/2023.2/toolbox/incari/object2d/getstrokewidth)
