Skip to content

Api > LineRenderer > GetAllLuaScripts()


LineRenderer.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 LineRenderer
local linerenderer;


local val0 = linerenderer.GetAllLuaScripts()