Skip to content

Api > Behaviour > GetAllLuaScripts()


Behaviour.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 Behaviour
local behaviour;


local val0 = behaviour.GetAllLuaScripts()