# Resizing/Scaling Objects in the Editor

## Overview

Every game object within a scene listed in the [Hierarchy](../../the-unity-interface/the-tabs/hierarchy-tab) window has a Transform component shown in the [Inspector](../../the-unity-interface/the-tabs/inspector-tab) window:

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MACLlkR0__UkSAljPMO%2F-MACM_hinvAai7tEdT38%2Fimage.png?alt=media\&token=52365507-fc8b-43c6-89c8-cfd57561e560)

Here, we see the local scale's x, y, and z sizes in game units. For scale, the objects will grow and shrink from the middle unless otherwise specified by the developer. Generally, the **x-axis** is horizontal, the **y-axis** is vertical, and the **z-axis** is forward and back.

Since you can change the view of your Scene window and move cameras with their own transform components, the best way to determine an axis is to move the object with the transform vectors and watch the numbers in the component OR change the numbers and watch the object in the Scene View.

## Resetting the Size

You'll notice when you add a new game object, it will often have a size that isn't 1 x 1 x 1. Right-click on the Transform component or click the three dots on the right of the component in the Inspector to get this menu:

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MACLlkR0__UkSAljPMO%2F-MACP2s1_KVD2js-fwEu%2Fimage.png?alt=media\&token=e33ec321-c031-4d7d-93b6-4c224db9b203)

Here, **Reset** resets all the coordinates to (0,0,0) (position and rotation) and 1 x 1 x 1 (scale) or you can click **Reset Scale** for just the local scale of the object in game units to 1 x 1 x 1.

{% hint style="info" %}
This will only reset the object's local scale relative to its parent object. To reset to the game's (or global/lossy) scale of 1 x 1 x 1, move the object outside of any parent object in the Hierarchy window, reset the scale, then put it back where it belongs. This also updates the local reset scale to whatever new size the object has when placed back into the parent object.
{% endhint %}

## Resize Objects in the Scene Tab

Click the **Scale Tool** at the top left of the editor.

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MACWDEhO0akA6ux7SLO%2F-MACYaeEaVjWZ6DpmOn7%2Fimage.png?alt=media\&token=11b387ee-c255-4f08-a9ac-45eade3d11b5)

A quick way to select this is to press the **R key** on your keyboard.

This will make scaling vectors appear on the selected object in the [Scene](../../the-unity-interface/the-tabs/scene-tab) View:

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MACWDEhO0akA6ux7SLO%2F-MACYhvYMzctwvbMPcpn%2Fimage.png?alt=media\&token=6cdaf42e-5274-45b5-93c0-f7e523e1596f)

You can click and drag on the red, green, or blue vectors (colored blocks) to grow and shrink the object along the x, y, or z axes respectively. As you do so, you'll notice the numbers changing in the scale property in the Transform component.

![Click and drag a colored block to resize the object along the axis.](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MDg5RG-_J7TR78dKhT-%2F-MDg6PLYR1fVSBApQC4s%2FScaleToolHandles_01.gif?alt=media\&token=afad87e0-101f-4be5-819b-58c193050318)

Click and drag where the axes intersect to resize the entire object.

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MDg5RG-_J7TR78dKhT-%2F-MDg7KBWiXR4yCezbm74%2FScaleToolHandles_02.gif?alt=media\&token=b08879bd-7ce9-4a5a-b637-5c8d56577ff7)

## Resizing Objects in the Inspector

Just like in all components with number properties, you can adjust numbers by clicking and dragging your cursor over the property name. You must first hover over the property name (X, Y, or Z) to make arrows appear around the cursor. Once your cursor moves out of frame, it will reenter on the other side. The numbers should increase and decrease and you should notice the object growing and shrinking in the Scene View.

In the Transform component, you can also type in the exact size in game units you need. The object's size will match.

![Click and drag left and right over the axis label to update the value or type in coordinates.](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-MDg5RG-_J7TR78dKhT-%2F-MDg8YbEfPLVXKgwzfF5%2FScaleInspectorTab.gif?alt=media\&token=aab84081-a1bd-424a-a9a7-fa65eea83147)

{% hint style="warning" %}
Make sure all values for Scale are positive to avoid errors.
{% endhint %}
