Utilities

A collection of utility functions for common animation tasks that can also serve as modifier functions.

All utility functions are available on the utils object imported from the main 'animejs' module:

import { utils } from 'animejs';

utils.stagger();
utils.$();
utils.get();
utils.set();
// Other functions

Or imported directly from the main 'animejs' module:

import {
  stagger,
  $,
  get,
  set,
  // Other functions
} from 'animejs';

Or imported as a standalone module from the 'animejs/utils' subpath:

import {
  stagger,
  $,
  get,
  set,
  // Other functions
} from 'animejs/utils';