GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Anime.js | JavaScript Animation Engine
  • Docs
  • Easings
  • Learn
  • Examples
  • GitHub
  • Sponsor
  • Getting started
  • Installation
  • Module imports
  • Using with vanilla JS
  • Using with React
  • Timer
  • Playback settings

This view

  • Original page
  • New address

GeezerVison is showing animejs.com — Engine | Documentation | Anime.js | JavaScript Animation Engine

Engine

Drives and synchronises all Animation, Timer, and Timeline instances.

import { engine } from 'animejs';

Execution order

Timers, animations, and timelines are executed in the order they are added to the engine. To control the execution order within the engine tick loop, use the priority parameter: instances with lower values are executed first.

animate(targets, { x: 100, priority: 0 }); // Runs first
animate(targets, { y: 100, priority: 2 }); // Runs last
animate(targets, { z: 100 });              // Default priority: 1
In this section
  • Parameters
  • Methods
  • Properties
  • Engine defaults
Previous
Next
  • waapi.convertEase()
  • Engine parameters
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.