Use z-index to overlay different layers based on where they are (0 = background, 1-10 = layers). This could allow you to move layers around by changing their index. Then use pointer-events-none on all non-active layers and only allow pointer events on the current later.
Use z-index to overlay different layers based on where they are (0 = background, 1-10 = layers). This could allow you to move layers around by changing their index. Then use
pointer-events-noneon all non-active layers and only allow pointer events on the current later.