---
description: This callback is called each frame.
---

# OnRender

#### Example:

<pre class="language-squirrel"><code class="lang-squirrel"><strong>function OnRender(Renderer)
</strong>{
    Renderer.AddText(Font.GetDefault(), 5, 5, Color(255, 255, 255), "This is example text");
}
</code></pre>

This example will draw text at left top corner of screen with default font and white color.
