nanos world API Reference Unofficial documentation
Static function Client Moderate

Debug.DrawString

Draws a Debug string in the world

Syntax

Lua
Debug.DrawString(location, text, color = Color.RED, life_time = 5, draw_shadow = false, font_scale = 1)

Parameters

Name Type Default Description
location Vector — —
text string — —
color optional Color Color.RED —
life_time optional float 5 —
draw_shadow optional boolean false —
font_scale optional float 1 —