Skip to main content
Clears Seliware’s internal drawing cache.
The name is misleading. cleardrawcache clears an internal cache - it does not remove the Drawing objects you made with Drawing.new. After a call, those objects are still alive: you can still read and write their properties and toggle Visible. To actually remove every drawing your script made, use Drawing.clear instead. The two are different functions, not aliases.

Returns

void

Example

Useful when recreating the UI or unloading scripts.