Finds the pixel height of a surface
surface_get_height(surface_id)
RenderTarget2D
Returns: int
int
This function simply returns the height, in pixels, of the surface.
int value = surface_get_height(surf);
This code sets value as the height of the surface called surf.
value
surf
Back to surfaces
There was an error while loading. Please reload this page.