Canvas:getHeight

Returns the height of the Canvas, its Textures, and its depth buffer.

height = Canvas:getHeight()

Arguments

None

Returns

NameTypeDescription
heightnumberThe height of the Canvas, in pixels.

Notes

The height of a Canvas can not be changed after it is created.

See also