Texture:getWidth

Edit

Returns the width of the Texture, in pixels.

width = Texture:getWidth()

Arguments

None

Returns

NameTypeDescription
widthnumber The width of the Texture, in pixels.

See also