This article will introduce how to adjust layers' alignment, coordinates, size, and rotation angle. You can set these parameters by selecting any layer. These properties can be found in the design panel on the right sidebar. You can directly adjust some properties on the canvas.
Note: The alignment, coordinate, and size settings of auto layout frames differ from those introduced in this article.
👉🏻 Learn more about Auto layout.
The alignment feature can adjust the position of a layer relative to other layers. Motiff determines the alignment method based on the selected layer.
Tip: When selecting a layer without a parent layer, its child layers will align relative to the selected layer.
👉🏻 Learn more about Text alignment settings.
Use the alignment options in the right sidebar to achieve alignment relative to the parent layer or among multiple layers, from left to right:
You can also use shortcuts for alignment:
Alignment | macOS | Windows |
---|---|---|
Align left | ⌥ Option + A | Alt + A |
Align horizontal center | ⌥ Option + H | Alt + H |
Align right | ⌥ Option + D | Alt + D |
Align top | ⌥ Option + W | Alt + W |
Align vertical center | ⌥ Option + V | Alt + V |
Align bottom | ⌥ Option + S | Alt + S |
Tip: Create fixed layers and control their response when adjusting layer size through constraints.
👉🏻 Learn more about how to use constraints.
Using snap to settings can help align elements on the canvas during layer resizing. When snap to settings are enabled, a red reference line will appear as a visual indicator when moving layers or vector anchors.
Snap to pixel grid: Align layers with their bottom grid to avoid pixel misalignment errors when exporting layers. The pixel grid does not need to be visible. It will be put into effect once enabled.
You can enable or disable snap to settings in Motiff's toolbar under Main menu - Preferences or zoom/view options on the right.
Distribution operations require selecting multiple layers simultaneously to take effect. Choosing a distribution option will evenly space the selected layers. Currently, two distribution methods are supported:
You can adjust the position of layers on the canvas along the horizontal (X-axis) and vertical (Y-axis) directions. In Motiff, the X and Y coordinates represent the position of the layer on the canvas, referring to the coordinates of the top-left corner of the layer.
X
and Y
fields.+
/
^
()
) to quickly adjust the values of X and Y coordinates. You can add a formula before or after the current value or replace it with a new formula entirely.Note: When a layer is rotated on the canvas, the X and Y coordinates of the layer still refer to the original top-left corner coordinates on the canvas.
Motiff supports fine-tuning the X and Y coordinates of layers using arrow keys, with two default adjustment amounts: small and large. By default, small adjustments are set to 1, and large adjustments are set to 10.
After selecting a layer, you can directly adjust the coordinate values of the layer on the canvas using the arrow keys. The arrow keys will use the current small nudge settings you set, and pressing Shift will use the large nudge settings.
←
Left↓
Down↑
Up→
RightEach layer on the canvas has its own size, which can be viewed in the following ways:
W
and H
fields in the design panel.There are three ways to adjust the dimension of a layer:
W
and H
in the right sidebar.Note: The properties of a group are composed of its child layers, and it does not have any properties of its own. When layers within a group are adjusted, the group's boundaries will also adjust accordingly.
Enabling constrain proportions allows you to maintain the current ratio of a layer's width and height. You can find the lock aspect ratio setting in the right sidebar next to the W
and H
fields.
When constrain proportions is enabled, Motiff will preserve the original width-to-height ratio when resizing a layer in the sidebar. If you adjust one of the W
or H
field values, the other will adjust proportionally.
Tips: Press Shift to create squares, circles, and regular polygons. Motiff will enable the constrain proportions in the right sidebar.
By default, Motiff starts drawing a shape from the top left corner. You can press the modifier key ⌥ Option / Alt to start drawing a shape from the center position.
When rotating a single layer (such as a frame or group), the horizontal or vertical center of the selected layer is used as the rotation center point.
Layers added to the canvas have a default rotation angle of 0°
, and you can rotate the selected layer 180°
in each direction.
180°
.180°
.When the rotation angle reaches 180°
in either direction, Motiff will start recalculating from 0°
in that direction. For example, a layer at 180°
rotated clockwise by 15°
will result in a layer with a rotation angle of -165°
.
Find the rotation angle field in the design panel on the right sidebar and follow these steps to adjust:
180°
for positive angles.180°
for negative angles.15
.Note: Motiff will not rotate any effects you have applied to a layer or selection.
You can use horizontal and vertical flip on selected layers. You can use the right-click menu to select the corresponding flip option or use shortcuts:
Each shape, text, or image added to the canvas has its own layer. This allows you to adjust each layer individually when creating complex design content.
You can adjust the position of the currently selected layer along any of the following three dimensions or axes: horizontal (X-axis), vertical (Y-axis), and depth (Z-axis). Unlike the X and Y axes, which can be adjusted directly in the design panel's corresponding fields, if you want to adjust the depth (Z-axis) or layer order on the canvas, you can directly adjust the order of layers in the Layer panel.
You can move layers to the front or back of the canvas, or move layers out of groups or frames.
The Layer panel on the left sidebar will display all layers on the current page and reflect the hierarchical order of the current layers: the top layer is at the front, and the bottom layer is at the back.
Tip: If you are familiar with CSS, the depth of layers corresponds to the z-index of objects.
Motiff supports adjusting layer order through the Layer panel, keyboard shortcuts, and right-click menu:
You can directly adjust the order by changing the position of layers in the layer panel:
Open the layer panel on the left sidebar.
Click and drag the layer to change its position in the layer hierarchy, corresponding as follows:
Release the cursor to complete the adjustment.
Motiff supports adjusting layer order using the following shortcuts:
Effect | macOS | Windows |
---|---|---|
Bring forward | ⌘ Command + ] | Ctrl + ] |
Bring to front | ⌘ Command + ⌥ Option + ] | Ctrl + Shift + ] |
Send backward | ⌘ Command + [ | Ctrl + [ |
Send to back | ⌘ Command + ⌥ Option + [ | Ctrl + Shift + [ |
You can adjust layer order by right-clicking on the selected layer and choosing the bring to front or send to back options from the right-click menu.
Tip: If you are dissatisfied with any changes, you can undo the operation using shortcuts:
The X, Y, W, H, and rotation angle fields in Motiff's design panel support math equations. You can directly use +
-
*
/
to resize layers. For more complex equations, you can use parentheses ()
or ^
for exponentiation in the fields.
Here are some examples, and you can input any numerical value during actual use:
+10
: Add 10 to the current value15
: Subtract 20 from the current value3
: Multiply the current value by 3/2
: Divide the current value by 2^3
: Create a cube of the current value(x/2)+4
: Divide the current value by 2 and then add 4 (x represents the current value)Multiple values +100
: Add 100 to each selected layer with different current values
Equations also apply to multi-selected layers. Enter mathematical equations in the X, Y, W, H, and rotation angle fields to change the parameter values of all selected layers.
Note: You need to edit the field and add equations to the existing value. If you simply select the field area and add equations directly, the original value in the field will be replaced.
In addition to entering values as introduced above, you can also adjust by dragging near the field input area in the design panel. The steps are as follows: