Daniba73,
It toggles correctly?
You can reverse the logic, yes.
[mc.ISIG_INPUT1] = function (state)
if (state == 1) then --
--Single Block Toggle Test
local inst = mc.mcGetInstance()
local SBMode = mc.mcCntlGetSingleBlock(inst)
if SBMode == 0 then
mc.mcCntlSetSingleBlock(inst, 1)
else
mc.mcCntlSetSingleBlock(inst, 0)
end
end
end,