Home › Forums › General › Using Ctrlr › shadow effect and %n prop › Reply To: shadow effect and %n prop
September 11, 2013 at 6:22 pm
#13146
Can you please put your questions in numbered points, because i don’t get anu of this. The one thing i got is that shadow effect, yes you can just change the components property, if you can see the property on the property panel you can change it in lua. The property for the shadow is “componentEffect”, the value would be “Shadow”. You can also set other properties too:
c = panel:getComponent("myComponent") c:setProperty ("componentEffect", "Shadow", false) c:setProperty ("componentEffectRadius", 2.5, false) c:setProperty ("componentEffectColour", "0xff323232", false)