ae_get_selection
Reads the current After Effects selection (project items, layers, properties, values, keyframes, trees) without modifying the project. Use when the user says 'this' or 'the selected layer'.
Instructions
What the user selected in After Effects: project items, layers of the active comp, and selected properties with their paths, values, keyframes (time, value, interpolation, ease) and property trees for selected groups (e.g. a text animator). Use it when the user says 'this', 'the selected layer', 'look at what I selected'. Changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Tree depth for selected groups (default 3). |