Files
Basalt/docs/docs1_6/objects/Object/getName.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

359 B

Object

getName

Returns the given name of the object

Returns

  1. string name

Usage

  • Prints name of object to debug window
local main = basalt.createFrame()
basalt.debug(main:getName()) -- returns the uuid
local main = basalt.createFrame("myFirstMainFrame")
basalt.debug(main:getName()) -- returns myFirstMainFrame