Reply To: shadow effect and %n prop

Home Forums General Using Ctrlr shadow effect and %n prop Reply To: shadow effect and %n prop

#13146
atom
Keymaster
    • Topics: 159
    • Replies: 2945
    • Total: 3104
    • ★★★★★

    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)
    
    Ctrlr