name

Returns this object’s current stored name.

Function

Synopsis

object:name( )

Arguments

None.

Returns

string name
The object’s current name, including any stored styled-text markup.

Examples

local object = mux.world.object(ctx.object)
mux.world.pemit(ctx.enactor, object:name())

See Also