LogicSwitch:activeCondition¶ since 1.1.0 Get / Set the active condition of the logic switch. local condition = ls:activeCondition([condition]) Parameters¶ Name Type Required Description condition Source optional Returns¶ condition (Source) Examples¶ From the official Ethos documentationls = model.getLogicSwitch(0) ls:activeCondition(CATEGORY_ALWAYS_ON)