Hello, How can I call layerB.bringToFront() after layer is finished animating? This is my current, failed attempt:
button.on Events.Click, -> # some layer animations Utils.delay .6, -> if not layerA.isAnimating layerB.bringToFront()
At the moment when I click on "button", layerB instantly moves to the front, rather than waiting .6s and checking if the animation is over. I would like some layers to animate before they disappear to the back. I can post the project if the context would help.