DestinationX
Previous Top Next

Gets or sets the sprite's position (x coordinate) used to determine whether to raise the CollisionDestination event if HasDestination is True.
Syntax: DestinationX As Int32

Example:
Sprite.DestinationX = 100
Sprite.DestinationY = 150