Platinum sponsors

Properties

Animate a new property, or remove one, without leaving the editor.

Add a property

  1. Select a setter, an animation or a timeline child.
  2. In the Target folder, type the name of an animatable property in the Add property field, such as rotate, opacity or backgroundColor.
  3. Pick its type in the menu next to the name.
The Anime.js editor Target folder with the Add property field below the x, rotateX and rotateY rows

The new property gets its own row on the timeline. The save adds it to the call:

animate('.square', {
  id: 'Square slide',
  x: 200,
  rotate: 90,
});

You can also press Shift + N, or right-click the segment of the animation and pick Add property, then type the name in the timeline sidebar and press Enter. With Editor Kit, a transform gizmo drag adds the transform it moves.

Remove a property

  • Right-click the property in the timeline sidebar and pick Delete property.
The Anime.js editor right-click menu of a property, with Delete property
  • Or select all the keyframes of the property and press Backspace. Deleting the last keyframes of a property deletes the property.

The save removes the property from your code.

Previous
Next