Skip to content

Api > TextMesh > GetAllLuaScripts()


TextMesh.GetAllLuaScripts()⚓︎

Returns an array of all Lua scripts that attached to the game object.

Returns:⚓︎

type Description
LuaBehaviour[] Array of all Lua scripts that attached to the game object.

Usage⚓︎

---@type TextMesh
local textmesh;


local val0 = textmesh.GetAllLuaScripts()