By LadylexUK (Feb 2015)
Copied from ProjectSpark.com
These tiles work the same as each other but reversed. The instructions for shrink work the same for grow.
Used on its own like this
the object will immediately shrink to the minimum size it is capable of with no animation. Objects are not the same when it comes to scaling. Upper and lower limits are unique to the object. Some will not scale under 30% while others will scale right down to 1 or even 0%, same with grow. Some objects will scale to 2000% while others can stop at 400%.
Used with a number
It will shrink to its minimum size at the rate specified. In this case 10% a frame or 300% a second
The smaller the number the slower it will shrink. (.001 is smallest and slowest option)
To get it to shrink to a specific size
or
These methods are however an instant shrink
To get a slower shrink to a specific size you could use a duration timer like this
You would have to work out how long to run the line of Kode for it to shrink to the size you need, based on the speed of shrink.
You can also create a growing effect when you create props by using the play creation fx.
…WHEN DO [objvar:my object][play creation fx]