MANUAL / SCRIPTING & EXPRESSIONS

Layers (scripting)

The Layer object in Brio Script — names, timing, parenting, time links, ordering and transform shortcuts.

Layer

MemberNotes
nameGet/set.
index1-based.
inPoint, outPointGet/set, seconds. Setting trims.
startTimeRead-only.
parentGet/set a layer or null. The layer keeps its place on screen.
timeParentGet/set a layer or null. Brio only: this layer slides along the timeline (keyframes too) when that one slides. Nothing else is inherited, and trims don't move it. A loop throws.
selectedGet/set.
enabled, nullLayer, hasVideoRead-only.
transformThe Transform group.
Effects / property("Effects")The Effects group. See Effects.
property(name)A Transform property by name, "Transform", "Effects", "Text" or "Source Text"; null if the layer has none.
text, sourceTextText layers only (else null).
position, scale, rotation, opacity, anchorPoint, xRotation, yRotationShortcuts to Transform properties.
remove(), duplicate()
moveToBeginning(), moveToEnd(), moveBefore(layer), moveAfter(layer)
setParentWithJump, sourceRectAtTimeThrow — not available.

Transform group

Properties: Anchor Point, Position, Scale, Rotation (also Z Rotation), Opacity, and on 3D layers Z Position, X Rotation, Y Rotation.

Shortcuts: transform.position, .anchorPoint, .scale, .rotation, .zRotation, .opacity, .xRotation, .yRotation. AE matchNames (ADBE Position, ADBE Rotate Z, …) work too.

Property groups

group.property(name | matchName | index) (null for a name it doesn't have), group.numProperties, group.name, group.matchName.

Layers and groups can be called like property(), as in ExtendScript:

layer("Transform")("Position")
layer.mask(1)
layer("Effects")("Blur")