I tried searching for this and was surprised I could not find it.
Is there not a way to get the scale of an object?
Sprite.Width / Sprite.ImageWidth
thanks, but I was looking for something more convenient.
ie: setting scale is easy, simply set scale = x
usually if you can set something, you can get it just as easy
Develop games in your browser. Powerful, performant & highly capable.
It's discussed elsewhere but and expression to get the scale can be ambiguous if the width or height is changed to have a different aspect ratio. Like tall and skinny or short and wide.
If you're just setting the size with set scale and want to get it later and easy way would be to save the scale you set to a instance variable.