ID:2260287
 
I'm not very familiar with how to use matrices to change the size of things using animate() other than just increasing all the dimensions at once like:
animate(src, transform = matrix()*1.5)

I'm trying to make a pillar of fire appear slender, widen quickly (stay the same height though), and then fade off using a few animate()s. How would I mess with the matrix to only modify width??

Or would it be simpler to just do a few rapid icon.Scale()s?
icon.Scale() is never more efficient than a matrix. To do just height you'd want:

animate(src,transform = matrix(1,1.5,MATRIX_SCALE))
// width, height, MATRIX_PROC


I wrote a tutorial on matrix manipulation here. There's also an article in the DM reference for "matrix procs" and from there you could have looked up "Scale proc (matrix)." :)