---
title: Drawing
nav_order: 8
---

# Drawing

Overlay drawings (cheat renderer), not Roblox GUI.

```lua
Drawing.new(type: "Line" | "Text" | "Circle" | "Square"): Drawing
Drawing.clear()
cleardrawcache()  -- alias
```

## Common props

`Visible`, `Transparency`, `Thickness`, `Color` (Color3), `ZIndex` (stub)

## Per type

**Line:** `From`, `To` (Vector2)  
**Text:** `Text`, `Position`, `Size`, `Center`, `Outline`  
**Circle:** `Position`, `Radius`, `Filled`, `NumSides` (stub)  
**Square:** `Position`, `Size`, `Filled`

## Lifecycle

```lua
obj:Remove()
obj:Destroy()  -- same
```

## Example

```lua
local line = Drawing.new("Line")
line.From = Vector2.new(10, 10)
line.To = Vector2.new(200, 120)
line.Color = Color3.fromRGB(255, 80, 80)
line.Thickness = 2
line.Visible = true

task.delay(3, function()
    line:Remove()
end)
```
