Can't destroy button or set button invisible in actions.
I've fixed a bug where the Destroy action didn't destroy button or text box. However, the 'set invisible' actions seem to be working OK for me. What browser are you using and do you have a .capx showing it not working?
In normal use, it works fine.
Maybe not really a bug, just setting button invisible need right timing?
(A). I put "go to layout2" under "set button invisible", invisible not work.
(B). I set button invisible in starting of layout2, not work.
in (A), set invisible, wait 1 sec before go to layout2, works.
in (B), if the event is not "start of layout", works.
In Chrome & Firefox latest ver.
Develop games in your browser. Powerful, performant & highly capable.
Works in my fixed dev build. I think it's the same as the destroy bug: when you switch layouts, all non-global objects on the layout are destroyed. However the previous bug meant the button was not destroyed properly and was left over on the second layout when it shouldn't be there.
So hopefully that's also fixed for the next build.