lovr.graphics.getLineWidth

Returns the current line width.

width = lovr.graphics.getLineWidth()

Arguments

None

Returns

NameTypeDescription
widthnumberThe current line width, in pixels.

Notes

The default line width is 1.

See also