Brio has two ways to work with code, both modelled on After Effects.
Brio Script runs JavaScript written the way After Effects scripts are. A script reads and edits the project — the open comp, other comps, footage, the render queue — in AE units, and one undo takes back the whole run. Scripts can build dockable ScriptUI panels and dialogs. Start with Brio Script.
Expressions are live formulas on a property — wiggle(2, 30), loopOut(), time * 90 — using the After Effects expression language. In Brio an expression is a modifier on the layer. Start with Expressions.
- Brio ScriptJavaScript scripting in the After Effects style — what it can do, how it runs, and what it can't touch.
- Cameras and lights (scripting)Camera Options, Point of Interest and Light Options from Brio Script.
- Convert AE Script…Rewrites an After Effects script for Brio Script, checks it on the open comp and saves it to your Scripts folder.
- Effects (scripting)Adding, finding, renaming and setting effects and their parameters from Brio Script.
- ExpressionThe modifier that runs an After Effects-style expression on a layer property.
- Expression errorsWhat happens when an expression fails, and what the common messages mean.
- Expression syntaxThe parts of the AE expression language Brio supports — values, operators, variables, if/else, arrays and strings.
- ExpressionsLive After Effects-style formulas that drive a property, evaluated every frame in preview and export.
- Interpolation (expressions)linear(), ease(), easeIn(), easeOut() and clamp() — map one range of values to another.
- Layers (scripting)The Layer object in Brio Script — names, timing, parenting, time links, ordering and transform shortcuts.
- Layers, comp and properties (expressions)Reaching layers, the comp, transform properties and effect parameters from an expression.
- Looping and time (expressions)loopOut(), loopIn(), valueAtTime(), timeToFrames() and framesToTime().
- Markers (scripting)Reading and adding comp and layer markers from Brio Script.
- Masks (scripting)Adding and editing layer masks — path, mode, feather and opacity — from Brio Script.
- Math and conversion (expressions)Math functions and constants, and converting between numbers and strings.
- Project, comps and footage (scripting)app.project, CompItem and FootageItem in Brio Script — comps, layers collections, import and footage.
- Properties and keyframes (scripting)Reading and setting values, keyframes, easing and expressions on a Property from Brio Script.
- Random, wiggle and noise (expressions)wiggle(), random(), gaussRandom(), seedRandom() and noise() — repeatable randomness.
- Render queue (scripting)Queueing renders, choosing formats and output files from Brio Script.
- Request a Script…Tell Brio which After Effects script you'd like to use, so the most-requested ones are supported next.
- Script ConsoleThe panel that lists each script run, what it printed, how many changes it made and its error.
- Script globals and appThe global names every Brio Script can use, and the app object.
- ScriptsThe File ▸ Scripts menu — run script files, convert AE scripts, request scripts and open the Scripts folder.
- ScriptUI panels and dialogsBuild dockable panels and dialogs for your scripts with After Effects' ScriptUI.
- Shape layers (scripting)Building and editing shape layer contents — groups, rectangles, ellipses, stars, fills, strokes, paths, Repeaters and Trim Paths — from Brio Script.
- Text and text animators (scripting)Source Text, TextDocument fields and text animators with range and wiggly selectors in Brio Script.
- Vector math (expressions)add, sub, mul, div, dot, cross, length and normalize on arrays.