I remember someone asking about this a while ago, and the answer was something like 'scale of height and width can be different, so it wouldn't work'. I agree it would be nice to have an expression for height and width scales, but you can already do this easy enough with the imageHieght/Width expressions.

Ashley its Simple to calculate sprite size 1241x 452pix half or twice of this value

Now i use sprite.width +1

and

sprite.heiht+1

Imagine about how much need to add pixels to this sprite of size

when i want to object decreased or increased equally?

for example that expression solve this problem sprite.scale -/+0.1 that will be nice and fast as hell

PS: its hard to me to explain because my english is not wery well but my sugestions is come from my experience with C2. I am a consumer and i know my needs and i know what i need when i work on c2. I try to help you improve c2

Ashley I've seen this get asked a lot, it doesn't really affect me so much personally but I think I'm aware as to why it's popping up a lot:

If an object is twice as wide and half as tall, what's its scale?

If you have an Sprite that has an imagewidth and imageheight of [32,32], and you then use "Set Size" or "Set Height/Width" actions so that the sprite is now "64,16", then that would mean the scale is still at 1.

So continuing from the example, you're 32x32 sprite is now 64,16 via "Set Size", if you were to set Scale to 2, I think people would expect the size to go to "128,32", rather than the Scale action reading from the image data and setting its dimensions to "64,64" (which it currently would do).

This leads me to believe the way that "Set Scale" is implemented is simply doing a formula, reading from the ImageWidth/ImageHeight (and NOT the sprite.width/sprite.height), therefore "Set Scale" is more of a quick formula action, rather than a built-in variable that is storing the Scale value. If this is correct, then I think that's why people are confused at the lack of retrieving a Scale value, because you simply didn't design it that way :P

I think one of the ideas for the foundation of C2 is that the tools be as intuitive as possible. Having things that sudden don't work isn't a good idea.

Though, one idea is to have another boolean for sprites for "Always maintain aspect ratio". But, it's easy enough to manually do that. Just like an easy way to know the individual scales is using something like what jayderyu said.

Another idea, is that whenever your set scale for a sprite, then you can have an instance variable that keeps track of that scale. Thus a comparison can easily be done with that.