Sprite Events
Animation Studio Reference

Sprite Events

The events of the Sprite class are listed below. For a complete list of Sprite class members, see the Sprite Members topic.

Public Instance Events

Click This event fires, when the mouse is clicked within the visible region of a sprite.
Collision This event fires, when a collision between sprites occurs. Property DetectCollisions must be set to true, for the event to occur.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
MouseDown This event fires, when the mouse button is pressed within the visible region of a sprite.
MouseUp This event fires, when the mouse button is released within the visible region of a sprite.
NextFrame This event fires, when the next frame of the sprite is rendered into the SpritePanel.
Paint This event is fired, each time a paint evant occurs. Normally you do not need this event.

See Also

Sprite Class | AnimationStudio Namespace | Timeline | KeyFrame | AnimationStudio | AutoCalc | CalcFrames