> ## Documentation Index
> Fetch the complete documentation index at: https://docsuncv2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Drawing.clear

Removes every drawing object your script made with `Drawing.new`.

```luau theme={null}
Drawing.clear(): ()
```

This is the real "remove all my drawings" call. It is not the same function as `cleardrawcache` - that one only clears an internal cache and leaves your drawings alive.

## Returns

<code title="the function does not return a value.">void</code>

## Example

Draw a row of circles, then wipe them all at once.

<CodeGroup>
  ```luau Example 1 theme={null}
  <<<<<<< HEAD
  Drawing.clear()
  =======
  -- Drawing.clear(): ()
  >>>>>>> 50e30f53759b0538759af25c9b271514aa2c9290
  ```

  ```luau Example 2 theme={null}
  for i = 1, 10 do
      local circle = Drawing.new("Circle")
      circle.Radius = 50
      circle.Position = Vector2.new(100 * i, 100)
      circle.Visible = true
  end

  task.wait(1)
  Drawing.clear()
  ```
</CodeGroup>

<Tip>
  Always check parameters and return values when working with this library function.
</Tip>
