SpriteIndex
Previous
Next
Returns the index of the specified sprite in the sprites collection.
Syntax: SpriteIndex (Sprite As Sprite) As Int32
SpriteIndex returns -1 if the sprite was not found.
Example:
If
gw.SpriteIndex(sprite.Value) =
0
Then
Return