property psprite, pLife, pNum on newit me, Num -- makes gNum to pNum and make psprite the actor we just created pNum = Num psprite = sprite(pNum) -- makes it character appear between -100 to 100 away from click psprite.locH = the mouseH + random(-100, 100) psprite.locV = the mouseV + random(-100, 100) psprite.trails = 1 psprite.blend = 40 -- gives it a life of 200. pLife = 200 end on exitframe me -- makes character that follows mouse location psprite.locH = the mouseH + random (-20,20) psprite.locV = the mouseV + random (-20,20) -- takes away from life every frame pLife = pLife - 1 -- if pLife is less than 0 kill it if pLife < 0 then puppetSprite pNum, False end if end