> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-server/005-function/variable/variable.setattribute.md).

# Variable.setAttribute

## Description

Stores value into an attribute of an object variable in the application's local variable pool.

## Input / Parameter

| Name      | Description                                                | Input Type | Default | Options | Required |
| --------- | ---------------------------------------------------------- | ---------- | ------- | ------- | -------- |
| name      | The variable's identifier containing the object.           | Text       | -       | -       | Yes      |
| attribute | The attribute name of the object variable to set value to. | Text       | -       | -       | Yes      |
| value     | The value to be set for this variable. Can be null.        | Any        | -       | -       | No       |

## Output

| Description                        | Output Type |
| ---------------------------------- | ----------- |
| Returns the formatted information. | Object      |

### Object

| Key     | Description                                                             | Output Type |
| ------- | ----------------------------------------------------------------------- | ----------- |
| success | Boolean value to denote whether the function was executed successfully. | Text        |
| message | The message to print.                                                   | Text        |
| data    | Any additional message or data to print.                                | Text        |

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
