Presuming the canvases are on the same card and have a naming convention like "c1", "c2", "c3", "c4" and the slider is set to an integer range between 0 and 3 you could write something like
on change val do canvases:c1,c2,c3,c4 X.paste[canvases[val].copy[]] end