surface_get_width(id)

id = name of the variable which holds the ID of the surface (see surface_create).

 

Example

surface_width=surface_get_width(surface);

 

This function returns the width of the surface with the given ID.

 

esh_corp11 - Revision #1