# (JSON) Scale Vector

## Overview

![The (JSON) Scale Vector Node.](/files/mYesI2rPx1WTTQ28eve5)

The **(JSON) Scale Vector Node** scales a **Vector3** by the **Float** value given as **Input**. It returns the scaled **Vector3** as well as the Euclidean norm of the new **Vector3**.

For example, if a vector of `[2,3,6]` were inputted and the given scaling value were `4`, the resulting `vector` would be `[8,12,24]` and the `norm` would be `28`.

Please note that this **Node** appears only when the **Logic Plugin** example is followed, the instructions of which can be found [here](/incari-studio/2024.1/toolbox/plugins.md#example). It will also disappear when the **Plugin** is deactivated in the **Plugin Module**.

[**Scope**](/incari-studio/2024.1/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**.

## Inputs

| Input             | Type        | Description                                                           |
| ----------------- | ----------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**   | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Input Vector`    | **Vector3** | The **Vector3** to be scaled.                                         |
| `Scale`           | **Float**   | The value by which the **Vector3** will be scaled.                    |

## 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. |
| `norm`             | **Float**   | The calculated Euclidean norm of the resulting scaled **Vector3**.                                                                     |
| `vector`           | **Vector3** | The resulting scaled **Vector3**.                                                                                                      |

## External Links

* More on the [*Euclidean norm*.](https://en.wikipedia.org/wiki/Norm_\(mathematics\)#Euclidean_norm)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2024.1/toolbox/plugins/jsonscalevector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
