This event fires, when a collision between sprites occurs. Property DetectCollisions must be set to true, for the event to occur.
The event handler receives an argument of type CollisionEventArgs containing data related to this event. The following CollisionEventArgs property provides information specific to this event.
Property | Description |
---|---|
Collider | Gets the Sprite which a collided with this Sprite. |
You can add this event to the sprite, by double clicking the event in the Event Pane of the property tab in the designer.
Sprite Class | AnimationStudio Namespace