Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Problem using setVisible — Gideros Forum

Problem using setVisible

MillerszoneMillerszone Member
edited September 2011 in General questions
Some of my sprites need to be Visible at certain times and then not Visible.

I'm getting this error with code below:
menu.lua:55: bad argument #1 to 'setVisible' (Sprite expected, got boolean)

When I used "menuGroup.setVisible(HTDAdScreen)" then the HTDAdScreen sprite became InVisible, but
how do you make it Visible again?


  • atilimatilim Maintainer
    edited September 2011
    You need to use colon ( : ) insead of dot ( . )
  • I think it's time for new glasses. B-)

Sign In or Register to comment.