I have for example a coordinate view with 5 smaller containers layered on top of each other. I want each container to be moved to the front of the view when its corresponding button is pressed.
IF button 1 pressed move container 1 to front of z order
IF button 2 pressed moved container 2 to front of z order
What would be the best way to approach this. An On-click event that runs script with Z order manipulation? If so does anyone have a rough example.