Home › Forums › General › Programming › Lua Help › Re: Lua Help
July 12, 2011 at 7:06 pm
#2920
also this code changes the position of the first slider:
[code:1f9xrow8]
—
— Called when a modulator value changes
—
randomSliderColour = function(modulator, newValue)
m = panel:getModulatorByName("modulator-1")
if m ~= nil then
c = m:getComponent()
c:setPropertyString ("componentRectangle", "128 128 64 64")
end
end
[/code:1f9xrow8]
so i guess this should work