I have used set group active to enable or disable button for different layer. but that not working
Show an example.
clickfusion
this is the example
Develop games in your browser. Powerful, performant & highly capable.
I checked, it works as it should.