Actions

Animation Action

With the Events system, you can trigger animations from imported objects. In order to use an animation action, you’ll need to have imported an animated object first. Learn more about how to import animation: Import Animated Objects.

Creating a new Animation Action

You can trigger an animation by doing the following:

  1. Select the object to which you want to add an animation action to.
  2. On the Events panel, add an event that should trigger the animation action.
  3. Open the Event and add an animation action.


Animation action is currently compatible within the following events:

To simply play your animation on start: Start Event

To play animation with mouse, touchscreen or keyboard interactions:

Mouse Up Event

Mouse Down Event

Mouse Press Event

Mouse Hover Event

Key Up Event

Key Down Event

Key Press Event

To make more dynamic game controls with the following options: On Idle, On Move, On Jump, On Run.

Game Controls Event

To trigger animations based on conditions:

Conditional Action

To play animations upon collision, e.g.: an object explodes when collides:

Collision Event

Edit an Animation Action

  • Interaction → what the action does to the animation:
    • Play → plays the selected animation (the default, with the options below)
    • Pause → holds the animation where it is. A later Play action on the same animation resumes it from there.
    • Stop → holds the animation on its first frame.
  • Object → select a reference object that should be considered for the action
  • Animation → select the animation to be played related to the object.
  • Start / End → allows to trim your animation based on the available keyframes
  • Delay → allows to play the animation with a delay, defined in seconds
  • Loop
    • Infinite → will play the animation forever
    • Count → will play it for a set amount
    • None → will only play it once
  • Cycle → if set to Ping Pong animation will be played forward and backwards in a loop.

Pause or stop an animation

Set the action's Interaction to Pause or Stop to control animations started by other actions, the same way a Timeline Animation action can pause or stop a timeline.

  • Object → the animated object to pause or stop. Leave it on All Objects to affect every animation currently playing in the scene.
  • Animation → with an object selected, the animation to pause or stop, or All Animations for every animation of that object.
  • Delay → waits the given number of seconds before pausing or stopping.

A paused animation keeps its pose. Triggering a Play action for the same animation resumes it from where it was paused instead of restarting it; a stopped animation restarts from its first frame.

Try out animation action with Game Controls in this example experience.

On this page