Spread Order - Move a slice to the top

Hi guys,

I’m trying to build a colour combination that allows the user to order a spread of colours and when they are in the correct order, trigger some sort of ‘Congratulations!’ message.

At the moment, I have a spread of four colours with a pillow lying over the top that can be moved up and down to hover over one of the four colours.

The selector should work in such a way that if I hover over a colour and select it, it should move to the top of the pile.

My question is, how can a slice in a spread be moved to the top of that spread? Is there an easy way that I’m missing?

Any help would be greatly appreciated!


store (spreads)

thanks ggml! Definitely put me on the right track, will keep at it!