PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How to inactivate a sprite?

Without deleting a sprite, is there a quick function that will inactivate the sprite ie, make invisible, stop movement, stop collision detection etc? I have a sprite that when it dies I set showsprite to false. The sprite disapears, but it still shoots bullets and moves.
Code:
DelSpriteOption(sprite$, SO_VISIBLE);
AddSpriteOption(sprite$, SO_PAUSE);


This will hide the sprite and inactivate it.