LogicSwitch:func¶ since 26.1.0 Get / Set the function of the logic switch. local function = ls:func([function]) Parameters¶ Name Type Required Description function integer optional Returns¶ function (integer) Examples¶ From the official Ethos documentationls = model.getLogicSwitch(0) ls:func(LOGIC_SWITCH_FUNCTION_AROUND)