Image xscale

Explanation
The local variable xscale indicates the factor by which the image is scaled horizontally. Negative values will cause the image to be mirrored.

Examples
xscale=2
 * the width of the image will be doubled (and of course it is stretched to fit that size)

xscale=1/2
 * the width of the image will be halved.

Suppose a sprite has a width of 24 pixels. When xscale is set to 2, the sprite's width will be 48 pixels.

Note that this variable does not change the sprite resource.