Get selection
ae_get_selectionRetrieves the current selection in After Effects—project items, active comp layers, and selected properties with paths—so you can act on "this layer" or "the selected ones".
Instructions
What the user has selected right now: project items, and in the active comp the selected layers and selected properties (with paths usable by ae_set_property). Read-only. Use it when the user says "this layer" or "the selected ones". Lists are empty when nothing is selected, and comp is null when no comp is active. To change the selection use ae_select_layers (via ae_call).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||