Motion Scripting
/ PropertiesLayout properties
The auto-layout members of frame layers: gap and padding as drivable properties.
The auto-layout members of frame layers - gap and padding.
Every pattern below is readable from scripts through prop() and layer.prop(); ids in a pattern (like <effect_id>) stand for the entity's real id. Every pattern here is in the drive set: scripts may WRITE each one with set() or a single-output return, per frame.
| Pattern | Wire kind | Units | Reads | Writes |
|---|---|---|---|---|
layout.cross_align | enum | enum name (string) | yes | drive set |
layout.direction | enum | enum name (string) | yes | drive set |
layout.distribution | enum | enum name (string) | yes | drive set |
layout.gap | scalar | number (wire units of the key) | yes | drive set |
layout.gap_y | scalar | number (wire units of the key) | yes | drive set |
layout.padding_bottom | scalar | number (wire units of the key) | yes | drive set |
layout.padding_left | scalar | number (wire units of the key) | yes | drive set |
layout.padding_right | scalar | number (wire units of the key) | yes | drive set |
layout.padding_top | scalar | number (wire units of the key) | yes | drive set |
layout.stacking | enum | enum name (string) | yes | drive set |
layout.strokes | enum | enum name (string) | yes | drive set |