Yuari
Documentation
Docs/Drawing API/cleardrawcache

cleardrawcache

Flushes the render cache (all objects).

Syntax

cleardrawcache() -> nil

Parameters

This function takes no parameters.

Returns

TypeDescription
nilThis function does not return a value.

Description

cleardrawcache is part of the Drawing API library. Drawing objects are managed by the external overlay renderer and persist until removed.

The change is applied directly to the live target, so later reads observe the updated value.

Example

cleardrawcache()

Notes

  • Drawing objects persist until removed or cleared.