Hi. It is a jigsaw puzzle. I have 48 pieces and a slide bar where you can choose then and drag to the screen. This slide bar have 48 "anchors" that I use to hold the pieces position.
Now, each piece have his position set to an anchor. What I need is to set the pieces position (on the start) to random anchors, so when you slide you see: piece1, piece44, piece16 and so on... instead of: piece1, piece2, piece3 (that I have now).
Just to show you what I need
Formulas I tried (the slide bar is vertical, so all the Piece.X is the same, changing just the Y):
Set Piece position to: Slider.X, Anchor(random(Piece.IID)).Y
Set Piece position to: Slider.X, random(Anchor(Piece.IID).Y
Set Piece position to: Slider.X, Anchor(random(Anchor.IID)).Y
Set Piece position to: Slider.X, Anchor(random(Piece.IID)).Y
Set Piece position to: Slider.X, Anchor(Piece.IID).Y+random(LayoutHeight)
Set Piece position to: Slider.X, Anchor(random(0, 47)).Y
Nom works correctly like expected. I'm shure there's a simple formula that I'm missing. Please help, would appreciate any thoughts!