---
title: "ScaleTo()"
description: "Sets a Model to an absolute uniform scale around its current pivot."
canonical: "https://docs.glorpia.com/scripting/functions/scale-to"
markdown: "https://docs.glorpia.com/scripting/functions/scale-to.md"
---
# ScaleTo()

Sets a Model to an absolute uniform scale around its current pivot.

**Category:** Scripting / Model method

## Syntax

```luau
model:ScaleTo(scale)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `scale` | number | Absolute uniform scale. Must be finite and greater than 0. |

## Behavior

`ScaleTo()` scales every descendant BasePart's size and pivot-relative position while preserving rotation. Nested Models scale with their containing Model.

The value is absolute rather than multiplicative. For example, `ScaleTo(2)` sets the Model to 2x even if its current scale is 1.5.

> **Note:** The Model must contain at least one descendant BasePart, and resulting BasePart dimensions must remain within Glorpia's supported size range.

## Example

```luau
local model = workspace:WaitForChild("Vehicle")
model:ScaleTo(2)
print(model:GetScale())
```

## Related

- [GetScale()](https://docs.glorpia.com/scripting/functions/get-scale.md) — Read the current Model scale.
- [GetBoundingBox()](https://docs.glorpia.com/scripting/functions/get-bounding-box.md) — Measure the scaled Model.
- [Model](https://docs.glorpia.com/instances/model.md) — Model properties and methods.
