background_get_width
From ENIGMA
This template shows that the function has not been fully documented. Please remove this template if you have finished documenting the function. Please refer to the Function:Documentation page if you are unaware of the format preferably used when documenting functions. Note importantly that all Game Maker functions should be tagged with the template {{Function:GM}} and ENIGMA functions should be tagged with the template {{Function:ENIGMA}}.
Notation
background_get_width(ind)
Description
Gets the width in pixels of a given background.
Parameters
- List parameters with a description of each.
Return Values
Document return values.
Example Call
//The following gets the width of background1 and displays it
bgWidth = background_get_height(background1);
show_message(string(bgWidth)); 0
bgWidth = background_get_height(background1);
show_message(string(bgWidth)); 0