Number fields
Type a value, a sum or a unit into a number field, drag across it to change the value, or step it with the arrow keys.
- Where
- Inspector, timeline, Preferences
Position, size, opacity, radius, gap and duration are all number fields, and they all work the same way.
- Label: sits above the field, or inside it as a letter or icon. Dragging a label above the field doesn’t change the value.
- Value: shown to two decimals, but stored exactly as you typed it.
- Unit:
px,%,s. - Unit menu: on fields that have more than one unit or a list of presets.
- Ratio lock: when it’s on, changing Width changes Height too, and the other way around.
- Inline corner icon: shows which side or corner of a four-sided field you’re editing.
- Link button: Edit each side / Link all sides. See Four-sided fields.
Typing
Click a field to select its whole value, type a new one, then press ↵ or ⇥, or click away. The value applies when you leave the field. Click a second time to place the cursor instead.
A value outside the field’s range snaps to the nearest limit. Text that isn’t a number or a calculation is discarded.
| Typed | Result |
|---|---|
100+50 |
150 |
1920/3 |
640 |
(4+2)*8 |
48 |
50% in Width |
The unit becomes percent of the parent, and the value 50. |
240px in Width |
The unit becomes pixels, and the value 240. |
100/3% |
A calculation followed by a unit. |
You can use +, -, * and /, with the usual order of operations and parentheses. ×, ÷ and − work too. Typing px or % switches the unit only on a field with a unit menu. Anywhere else, a typed unit is ignored.
What happens when you empty a field depends on the field:
- A field that can size itself, such as Width or Height, is set to
auto. - A field with a fixed default goes back to it.
- A field that requires a value keeps its previous one.
Scrubbing
Press anywhere inside a field, on its inline label or its value, and drag left or right. This is called scrubbing. The value changes by one step for every pixel you move. If the pointer moves less than 4 pixels, it counts as a click. Once it moves further, the value starts changing from where the scrub began.
| Held while scrubbing | Effect |
|---|---|
| ⇧ | Ten steps per pixel. |
| ⌘ | One tenth of a step per pixel. |
| ⌥ | On a four-sided field, the value is written to all sides. |
You can press and release these keys in the middle of a scrub. Only the movement after that uses the new rate.
- Scrub X: one step per pixel
- Hold Shift: ten steps a pixel
- A scrub undoes in one step, from press to release, and stops at the field’s limits.
- With a mouse, the pointer is hidden and a stand-in cursor wraps around to the opposite edge of the screen, so you never run out of room. With touch, a pen, or a browser that doesn’t capture the pointer, the scrub stops at the screen edge.
- A field showing
autoscrubs from the layer’s current measured size. - A field you’re already typing in doesn’t scrub. Dragging in it selects text instead.
Stepping with the keys
With the cursor in a field:
| Key | Effect |
|---|---|
| ↑ / ↓ | One step. |
| ⇧↑ / ⇧↓ | Ten steps. |
| ⌥↑ / ⌥↓ | One tenth of a step. |
| Home / End | The minimum or maximum, on a field with a range. |
Each press is its own undo step. The mouse wheel also steps the field you’re in. A step is 1 for pixel values, and smaller for values such as seconds.
Fields that hold a time step by instead: by default 50 ms per ↑ or ↓, and 500 ms (the + SHIFT value beside it) with ⇧. A field in seconds steps by the same amount of time, 0.05 s and 0.5 s. ⌥ with an arrow key still steps a tenth of the field’s own step.
These time fields are:
- a build’s or action’s Delay and Duration
- a keyframe’s Time and a stagger’s Offset
- a transition’s Duration
- a video’s Start, End and Delay
- a click marker’s Time
- the MP4 export’s Still scenes and Hold per click
Unit and preset menus
| Field | Menu |
|---|---|
| X, Y | px, % |
| Width, Height | Auto (where available), px, % |
| Text measurements such as line height | Their unit pairs. See Text styles. |
| + SHIFT beside Layer nudge in Preferences | 8, 10, 12, 16, 20 px |
| Timeline nudge in Preferences | 25, 50, 75, 100 ms |
| + SHIFT beside Timeline nudge in Preferences | 150, 250, 350, 500, 1000 ms |
Four-sided fields
Padding, margins and corner radius have a value for each side or corner. They’re shown as one control with a link button.
| State | Fields |
|---|---|
| Linked, padding and margins | Horizontal (left and right) and vertical (top and bottom) |
| Linked, corner radius | One for all four corners |
| Unlinked | Four, each corner field placed in the corner it edits |
When you link the sides, they change to values the linked view can show. For padding, left takes the right value and bottom takes the top value. For corners, all four take the first corner’s value. If the values can’t be shown linked, the control opens unlinked.
- Scrub left: one side changes
- Hold Option: all four sides
Words, dimmed and red fields
auto: the value is computed, for example a width that follows the content.Mixed: several selected layers have different values. Whatever you enter goes to all of them.- A dimmed number follows another setting, such as a duration that follows a clip’s length.
- A quieter field is read-only, such as the time of an automatic click marker. It doesn’t scrub, and you can’t type in it.
- A red border marks a field that’s at a hard limit or holds an invalid value.
Combining with other features
- Round to nearest pixel. With on, position and size are rounded to whole pixels when they apply, including calculations and fine scrubbing. With it off, they keep two decimals.
- Groups with layout. When the layout positions a layer, its X and Y have no unit menu and don’t move it.
- Canvas. Scrubbing updates the canvas as you drag. Typing updates it when the value applies.
- Timeline. The timeline’s Duration and a click marker’s Time accept the same input.