---
title: "Drawing.new"
description: "Creates an initially invisible drawing object."
---

```lua
Drawing.new(class: string): DrawingObject
```

---

## Aliases

None.

---

## Arguments

<ParamField body="class" type="string" required>
  One of Line, Text, Circle, Square, Triangle, Quad, or Image.
</ParamField>

---

## Returns

<ResponseField name="object" type="DrawingObject">
  The newly created Drawing userdata. It is initially invisible.
</ResponseField>

Classes are case-sensitive: Line, Text, Circle, Square, Triangle, Quad, Image. See the full property reference. Objects are not Roblox Instances.

**Related types:** [Drawing types & behavior](/reference/drawing/types).

---

## Example

```lua
local text = Drawing.new("Text")
text.Text = "Byte docs"
text.Position = Vector2.new(24, 24)
text.Color = Color3.new(1, 1, 1)
text.Visible = true
task.delay(5, function() text:Remove() end)
```
