Sub topic 7
Constraining a Transform to an Axis or Plane
Assume you can select objects, navigate the viewport, and use the basic G, R, and S shortcuts. You should also know that Blender uses X, Y, and Z as its three coordinate axes.
An unconstrained transform follows your mouse in the viewport. An axis constraint limits that transform to one direction. A plane constraint limits it to two directions while preventing movement along the third axis.
Locking a transform to an axis
Select an object and start a transform:
Gmoves the object.Rrotates the object.Sscales the object.
Immediately press an axis key to constrain the transform:
G,Xmoves only along X.R,Zrotates around Z.S,Yscales along Y.
For example, G, X, 2, Enter moves the object exactly 2 Blender units along the X axis. A negative value moves it in the opposite direction. Press Esc to cancel the transform.
The constraint appears as a colored line or highlight in the viewport. The color usually matches the axis: red for X, green for Y, and blue for Z.
Locking a transform to a plane
A plane constraint allows motion in two axes and blocks the remaining axis. Hold Shift while pressing the axis you want to block:
G,Shift+Zmoves in the XY plane.G,Shift+Xmoves in the YZ plane.G,Shift+Ymoves in the XZ plane.
For example, S, Shift+Z, 0.5, Enter scales an object in X and Y while leaving its Z scale unchanged. Plane constraints are most useful for moving and scaling. Rotation is normally constrained to a single rotation axis, such as R, Z.
Global and local axis constraints
By default, constraints use the current transform orientation, often Global. In Global orientation, X, Y, and Z refer to the scene axes.
You can press the same axis key twice to use the object's local axis. For example:
G,X,Xconstrains movement to the object's local X axis.S,Z,Zscales along the object's local Z axis.
This distinction matters after rotating an object. Its local axes rotate with it, while global axes remain fixed in the scene.
Use the orientation control in the viewport header to switch between Global, Local, Normal, View, and other orientations. The selected orientation changes what an axis constraint means.
Exercise
You need to move a rotated object 3 units along its own Z axis without changing its X or Y position. What shortcut sequence should you use?
Show answer
Select the object, press G, press Z twice to use the local Z axis, type 3, and press Enter.