Appearance
Prompts that work
Your own AI assistant, once connected to AXO (how to connect it), works in After Effects directly: it draws, animates and builds the interactive part in the comp you have open. This page is a set of prompts to copy and change: one job each, in the order you would usually work.
| Before you ask | After Effects open, the AXO panel open, Allow your AI assistant to control After Effects and this panel switched on. |
| One job per prompt | Draw, then animate, then make it interactive. You check each step before the next one builds on it. |
| Not happy? | Edit › Undo in After Effects takes back the whole step. Themes and machines are changed or deleted in the Studio. |
| It cannot | Press Build, save or open files, run scripts or write expressions. The full list. |
What a good prompt says
| Part | Why | Example |
|---|---|---|
| Which comp | The assistant works in one comp at a time. | "In this comp…", "In the comp called Bell…" |
| What the artwork is | It reads layers and looks at frames, but a name tells it what you mean. | "The layer called Heart is the button." |
| What happens, and when | Motion and behaviour are described the way you would brief a person. | "It swings twice, quick and springy, then settles." |
| What to leave alone | It keeps your keyframes unless told otherwise; say so when it matters. | "Do not touch the background layers." |
Locked layers are never changed, so locking a layer is the surest way to protect it.
Check the connection
What comps are in my After Effects project?
The assistant answers with the comps of the open project. If it cannot reach the panel, see If it does not connect.
Draw
Make a new comp, 400 × 400, 2 seconds at 60 fps, white background. Draw a notification bell in it: a dark grey body, a small clapper under it, and an orange dot at the top right. Keep the body, the clapper and the dot on separate layers, and name them.
In this comp, add a rounded rectangle button, 240 × 72, orange, with the text "Subscribe" centred on it. Text as a live text layer.
Ask for separate, named layers: they are what you will animate, click and theme later. The assistant draws with After Effects' own shapes, gradients, Trim Paths and text, and uses no images.
Animate
Animate the bell in this comp: it swings left and right twice, quick and springy, and settles by frame 40. The clapper follows a little late. Do not move the orange dot.
The checkmark in this comp should draw itself on with Trim Paths, from frame 0 to 20, easing out. Then the circle behind it scales up from 90 % to 100 % with a small overshoot.
Look at frames 0, 20 and 40 of this comp and tell me whether the bell leaves the frame at any point. If it does, fix it.
The last prompt is worth using often: the assistant can see frames of the comp, so it can check its own motion.
Segments
Frames 0–29 of this comp are the idle loop and 30–60 are the click. Add those two as segments, named idle and click.
Read the keyframes in this comp and tell me where each movement starts and ends. Do not change anything yet.
Segments are comp markers. A machine plays them by name, so settle the names before building one. More: Markers are segments.
Make it interactive
This comp is a like button with two segments, idle and click. Make it loop idle, and play click once when the layer called Heart is pressed, then go back to idle.
Build a state machine for this comp from the Toggle template: a click on the layer called Knob turns it on, the next click turns it off.
This comp has segments idle, hover and press. I want: hover plays while the pointer is over the layer called Button, press plays once on a click, and it returns to idle when the pointer leaves.
Name the layers people will click or hover, and say what plays in each case. The assistant can start from any of the Studio's templates or write a machine from scratch; either way the Studio's own rules check it, and it appears in the Studio at once.
Tokens and themes
List what in this comp can become a token.
Make the button's fill colour and the text colour tokens. Then add two themes: dark, with a navy fill and white text, and light, with a white fill and navy text.
Add a theme called sale to this comp that turns the badge red and changes its text to "−30 %".
A property can be a token only inside a precomp, so the assistant precomposes the artwork first and tells you. The layers a machine clicks are then inside that precomp, and the click has to name the precomp layer. Ask for tokens before the machine, or ask it to check the machine afterwards.
A token's name is permanent, so the assistant names it by role (button-fill, not orange). Themes can change colours, numbers, positions, scales, text and gradient stops: Slots and themes.
Check the result
Run the audit on this comp and tell me what a web player will not draw as After Effects does.
Switch Interactive on for this comp and tell me what the Studio's problem list says.
The assistant reads the Audit and the Studio's problem list; the fixes stay with you, in the Audit tab. Then open the comp's Studio, try it in the Test player, and press Build yourself.
When the result is not what you meant
| What happened | Try |
|---|---|
| It changed the wrong layer | Name the layer in the prompt, or lock the ones it must not touch. |
| The motion is right but the timing is off | Give frames: "the swing ends by frame 40". |
| It did several things and one is wrong | Edit › Undo, then ask for one thing at a time. |
| The machine does not react in the Test player | Ask: "Which layer does the click listen to, and which segment does it play?" |
| It says After Effects is not reachable | The panel is closed or the switch is off: Switch it on. |