# llGetScale

*LSL function*

```lsl
vector vector llGetScale();
```

- Returns: `vector`
- Energy: 10

Returns a vector representing the physical scale (dimensions in meters) of the prim containing the script.

Returns a [vector](https://wiki.secondlife.com/wiki/vector) that is the scale of the prim.

```lsl title="How to use" frame="terminal"
vector result = llGetScale();
```

## Examples

<details open>
<summary>Example 1</summary>

```lsl
default
{
    touch_start(integer total_number)
    {
        llSay(0, "My dimensions are: " + (string)llGetScale());
    }
}
```

</details>

## See also

### Functions

- [llSetScale](/functions/llSetScale/) — Sets the prims size
- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/) — Gets prims attributes

---

*Source: [LlGetScale](https://wiki.secondlife.com/wiki/LlGetScale) on the Second Life Wiki. Content from the Second Life Wiki article LlGetScale (revision 1194252, 2015-01-22), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llGetScale/
