background_get_width(ind)
From ENIGMA
Description
Gets the width in pixels of a given background and returns the result.
Parameters
| Parameter | Description |
|---|---|
| ind | index of the background |
Return Values
integer: Returns the width of the background in pixels.
Example Call
// demonstrates obtaining the width in pixels of a given background
var mybgw;
mybgw = background_get_height(mybg);
var mybgw;
mybgw = background_get_height(mybg);