write
Create persistent text and return its id.
Parameters
font— A font fromfontorload_font.x— Left edge.y— Top edge.text— The string to draw.align?—"left"(default),"center"or"right".
local label = write(font, 10, 10, "Score: 0")Related: change_text, delete_text, font.
See the text guide for more examples and limits.