Skip to content

Api > Renderer > GetAllLuaScripts()


Renderer.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 Renderer
local renderer;


local val0 = renderer.GetAllLuaScripts()