> For the complete documentation index, see [llms.txt](https://docs.cherax.vip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherax.vip/lua-documentation/api-reference/g_imgui/add_line.md).

# add\_line

### void add\_line(vec2 p1, vec2 p2, int r, int g, int b, float thickness = 1.f)
