Skip to main content
Drawing functions. Work only inside the paint and player_esp callbacks.

Primitives

Text

Flags (combine as a string):

Word wrap

Fonts

Load a TTF/OTF from scripts/fonts. Default size is 14. Pass the font object as the last argument to render.text and render.text_size.

Images

load_image loads from scripts/images. texture creates from raw RGBA bytes.

Icons

render.icon returns a game icon texture. render.icons() lists all available names.

Clipping

Projection

Screen

Theme

Example