Counter
Previous Top Next

Gets or sets the sprite's counter. If not zero the counter is decremented every call to Tick and when it reaches zero a GameWindow CollisionCount event occurs. Once a counter has reached zero no further CollisionCount event occur until the counter is again set to a positive non-zero value
Syntax: CounterAs Int32

Example:
Sprite.Counter = 100