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

# cleardrawcache

> Real global Drawing object list listesini temizler. Izlenen her Drawing object destroyed olarak isaretlenir, varsa image resources serbest birakilir ve object list bosaltilir. Temizlenen Drawing objects icin mevcut Lua references kalabilir, ancak objects artik active Drawing objects olarak kabul edilmez. the Drawing API bu APIyi yalnizca the required rendering environment is active true oldugunda kaydeder; bu kontrol false oldugunda initializer bu globals degerlerini olusturmadan once doner.

<div className="real-function-page">
  ```lua theme={null}
  cleardrawcache()
  ```

  ## Örnek

  Clear every Drawing object currently tracked by Real.

  ```lua theme={null}
  local square = Drawing.new("Square")
  square.Visible = true

  cleardrawcache()
  print(square.Visible)
  ```
</div>
