1 person found this helpful
In order to create the effect you want you would set sprite.rect - and if this needs to be animated then you'd do so over time. Check the docs for 'inflate'
I now have a sprite that will scale once, how can I continue scaling everytime i hit the button:
on mouseup me
--by the way, thanks for the quick response, it has enabled me to spend this evening searching forums for inflate
Instead of basing your width/height calculations on the member width and height, base it on the sprite width and height:
property spriteNum property my on beginSprite me my = sprite(spriteNum) end on mouseUp me my.width = my.width * 1.2 my.height = my.height * 1.2 end
Thank you for your time Sean! ...works perfect.