ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getWorldLabelText

Function

getWorldLabelText

Server and clientDrawing (dx)Trilogy Hub only

Returns the text of a 3D label.

Syntax

string getWorldLabelText(element label)

Arguments

labelelement
A label from createWorldLabel.

Returns

The text; false for an invalid element.

Example

local label = createWorldLabel("Sklep", 1500, -1680, 15)
print(getWorldLabelText(label))

See also