background_width[0...7]
Returns: Real
This read only variable returns the width of the image that has been used for the background_index of the same array value. Should you need
to make a background fit a specific width, you should change the background_xscale.
if room_width != background_width[0]
{
background_xscale[0] = 1 * (room_width / background_width[0]);
}
The above code will scale background to fit the width of the room.