Motion Scripting
/ PropertiesMasks properties
Per-mask members by mask id: path, feather, opacity and expansion.
Per-mask members: path, feather, opacity and expansion, addressed by mask id.
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 |
|---|---|---|---|---|
masks.<mask_id>.expansion | scalar | number (wire units of the key) | yes | drive set |
masks.<mask_id>.feather | point2 | [x, y] px | yes | drive set |
masks.<mask_id>.feather_profile | width_profile | width profile point list | yes | drive set |
masks.<mask_id>.feather_profile.<point_id>.t | scalar | fraction of the path (0..1) | yes | drive set |
masks.<mask_id>.feather_profile.<point_id>.width | scalar | x the feather (0..16) | yes | drive set |
masks.<mask_id>.inverted | boolean | boolean | yes | drive set |
masks.<mask_id>.mode | enum | enum name (string) | yes | drive set |
masks.<mask_id>.opacity | scalar | percent (0..100) | yes | drive set |
masks.<mask_id>.path | path | path (read-only wire shape) | yes | drive set |