What you can edit
Every Anime.js call the editor recognizes, and how to name it.
The editor lists each supported call that carries an id in its Objects list, grouped in the Setters, Animations, Timelines and Layouts folders.

| Call | Folder | Notes |
|---|---|---|
animate(targets, { id, ... }) |
Animations | Every parameter and animated property |
utils.set(targets, { id, ... }) |
Setters | Every property it sets |
createTimeline({ id, ... }) |
Timelines | The timeline parameters and each child with an id |
createLayout(root, { id, ... }) |
Layouts | The layout parameters and its states |
layout.animate({ id, ... }) |
Layouts | Its parameters and states, under its layout |
layout.update(callback, { id, ... }) |
Layouts | Its parameters and states, under its layout |
Timeline children
Each child of a timeline needs its own id too. Calls and syncs use their object form so they can carry one, and a label uses its name:
const intro = createTimeline({ id: 'Hero intro' });
intro.add('.title', { id: 'Title reveal', opacity: [0, 1] }, 0);
intro.set('.card', { id: 'Cards reset', y: 40 }, 0);
intro.add({ id: 'Wait', duration: 300 }, '+=100');
intro.call({ id: 'Start video', callback: startVideo }, 800);
intro.sync({ id: 'Linked loop', target: loopAnimation }, 800);
intro.label('Cards in', 1000);
intro.init();
The short forms call(callback, position) and sync(target, position) still play, but they get no row in the editor.
Values
- Numbers, units and colors: tween values such as
200,'12rem'and'#FF4B4B', and relative values such as'+=100'. - Property keyframes: tween parameters keyframes such as
x: [{ to: 100 }, { to: 0 }], with each keyframe's ownto,from,duration,delay,easeandcomposition. - Eases: built-in eases such as
'out(3)'and'inOutQuad', and thecubicBezier()andlinear()functions. - Spring, steps and irregular eases: the
spring(),steps()andirregular()functions. Kit - Distributions:
stagger()andrandom({ ... })values. Kit - Scroll:
onScroll({ ... })inautoplay. Kit - Targets: a CSS selector that resolves to one element, edited as text.
Targets
The editor edits every target Anime.js can animate: HTML and SVG elements, JavaScript objects that drive a canvas or a WebGL scene, and Three.js objects animated through the Three.js adapter. See Three.js scenes for the Three.js setup.
Not editable
- Animation keyframes, set with the
keyframesparameter. They still play, but do not become editable rows. Use property keyframes instead. - Function-based values, such as
x: (el, i) => i * 80, and custom ease functions. Usestagger()orrandom()to keep a distribution editable. - Standalone
createTimer()calls. To edit a timer, add it to a timeline with anid.