Skip to content

Api > MLCelestialData > GetAllLuaScripts()


MLCelestialData.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 MLCelestialData
local mlcelestialdata;


local val0 = mlcelestialdata.GetAllLuaScripts()