Actors > Properties > Kill actor

killing actors in Stencyl means removing objects from the game scene,\not a real life murder by any means. It will not even look like killing in the game but only disappering.  

snippet 

Codes
Note: actor in code mode is Self in Design mode

preview code
recycleActor(actor);

code without import com.stencyl.behavior.Script.*
Script.recycleActor(actor); 

computational shortcut:
Engine.engine.recycleActor(actor); 

No comments:

Post a Comment