Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi Guys,
I have a funny situstion, I'm trying to toggle layer visability by clicking on a sprite
Then i checks for visible/not visible and reacts acordingle
This doesn't works...
[attachment=0:2yw6czrh][/attachment:2yw6czrh]
what am I missing?
TNX
You're missing the 'else' Right-click event 24 and choose Add->Else, you should be right.
Event 24 is making the object invisible. Event 25 then checks if it is invisible, and makes it visible again. Use an Else. Click on the left most part of event 25, right-click, add Else.
Develop games in your browser. Powerful, performant & highly capable.
codah & blackhornet
TNX, works (of course)