diff --git a/docs/references/VisualElement.md b/docs/references/VisualElement.md index a728a86..0174331 100644 --- a/docs/references/VisualElement.md +++ b/docs/references/VisualElement.md @@ -102,7 +102,12 @@ Draws a text character/fg/bg at the specified position with a certain size, used * `bg` `color` The background color ## VisualElement:render() -@diagnostic disable-next-line: duplicate-set-field +Renders the element + +### Usage + ```lua +element:render() +``` ## VisualElement:textFg(x, y, text, fg) Draws a text character at the specified position, used in the rendering system