There are many instances in a video game where you want an animation to trigger some kind of action within the game engine.  In Spriter we call these “Events”.  A common event you might want to trigger at key points of an animation would be the creation and firing of a bullet sprite at the exact moment of a muzzle flash in a gun firing animation.  Of course, it can get much more sophisticated than that.  You might want to trigger several events at once, or several over the course of an animation. This is very easy with Spriter Pro.  For the sake of keeping these simple we’ll use the shooting animation example.
Adding Event Triggers to an Animation (Pro Only)

Spriter Pro User’s Manual version 1.4

1) Scrub through the timeline to find the exact moment in the shooting animation at which you’d like the game engine to spawn a bullet from the barrel of the gun. (This would be the perfect place to use a “Action Point”  in the animation, the let the game engine know the precise position to spawn the bullet from and at what angle to send it flying!) Now that you are at the right Spot in the timeline, right click on the actual left hand part of the expanded timeline palette that displays the names of each time-line and choose the top option that appears, called “append event at time”.
2) A small dialogue will appear which allows you name your Event.  Just type in the name you want this event to have and click “OK” or press enter.  This places your new event trigger at that spot in the timeline. The logic in your game engine should look something like this: If the event called “fire bullet” is triggered. Then create a bullet sprite at the position of the Action point called “gunbarrell” And set the angle of the bullet sprite to the angle designated by the Action point. Set bullet sprite to whatever speed is appropriate. A more sophisticated example of the use of “Events” would be a long animation of a wizard character casting a spell.  Imagine an early event to trigger the start of some lighting and weather effects as the wizard begins chanting his spell.  Imagine shortly thereafter another event triggers the beginning of a screen shake...subtle at first, but growing more powerful as the incantation nears it completion. And finally an event timed perfectly when the wizard finishes the spell by slamming the end of his staff to the ground for emphasis, which could trigger a much more violent camera shake, particle effects, universal damage to on- screen enemies, etc etc.  The possibilities are endless.
We’re not done yet though, if you pay close attention you’ll see that the new Event you created has room for it’s own MetaData in its timeline! This means the events themselves can carry with them additional information, giving you perfect control of the variables and settings involved with whatever it is you want triggered in the game engine.  Please see “adding variables to an animation” and “adding Tags to an animation” to learn more.