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
atom
Moderator
  • Topics: 156
  • Replies: 2940
  • Total: 3096
  • ★★★★★

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)
Do NOT follow this link or you will be banned from the site!