Sub topic 15
Clearing location, rotation, and scale
What clearing a transform does
This chapter assumes you know how to navigate the 3D viewport and use Object Mode. You should also know the X, Y, and Z axes and how to open the Transform panel with N.
Every object has three main transform channels:
- Location: the object's position.
- Rotation: the object's orientation.
- Scale: the object's size compared with its original mesh size.
Clearing a channel resets it to its default value:
| Transform channel | Cleared value | Object Mode shortcut |
|---|---|---|
| Location | X 0, Y 0, Z 0 | `Alt+G` |
| Rotation | X 0, Y 0, Z 0 | `Alt+R` |
| Scale | X 1, Y 1, Z 1 | `Alt+S` |
The reset happens to the object transform, not directly to the mesh vertices. Therefore, clearing a transform can change the object's visible position, orientation, or size.
Clear transforms in Object Mode
Add or select an object and move it away from the origin. Then use these shortcuts:
- Press
Alt+Gto clear its location. - Press
Alt+Rto clear its rotation. - Press
Alt+Sto clear its scale.
You can clear only one channel. For example, Alt+G moves the object to its parent's origin or the world origin, depending on the parenting setup. It does not change the object's rotation or scale.
You can also use the menus. Choose Object > Clear, then select Location, Rotation, or Scale. The Transform panel provides another way to inspect the result. After clearing all three channels, the panel normally shows location (0, 0, 0), rotation (0°, 0°, 0°), and scale (1, 1, 1).
Clear versus apply
Clearing and applying transforms have different results.
Clearing resets the object's channels and can change how the object appears in the scene. Applying a transform uses Object > Apply or Ctrl+A to bake the current rotation or scale into the mesh while keeping the object's visible shape and position. After applying rotation and scale, those channels return to their identity values, but the mesh data has changed.
Use clearing when you intentionally want an object at default transform values. Use applying when you want to preserve the current appearance while making rotation or scale part of the mesh data.
Clear transforms with Python
In Blender's scripting workspace, the following code clears the active object's location, rotation, and scale:
import bpy
obj = bpy.context.active_object
if obj is not None:
obj.location = (0.0, 0.0, 0.0)
obj.rotation_euler = (0.0, 0.0, 0.0)
obj.scale = (1.0, 1.0, 1.0)This example sets the object channels directly. It does not apply the transforms to the mesh and does not clear delta transforms.
Exercise
You scaled a cube to 3 on every axis and want to keep its current visible size while resetting its Scale values to 1. Should you use Alt+S or apply the scale with Ctrl+A?
Show answer
Apply the scale with Ctrl+A, then choose Scale. Alt+S clears the scale and makes the cube visibly smaller.