GML: background_width[ ]

background_width - width of a given background in the room

( Game Maker 6.1, 7 )

Syntax

width = background_width[0];

Description

background_width returns the width of a background in the room.

Examples

Show the width of a background in a messagebox

show_message( "The background width is: " + string( background_width[0] ) )

Related Pages

Backlinks

Categories: GML : Rooms : Variables