Trying Multiple selection in list viewer

When I select items from color list viewer, that particular item get removed from the list. I want that only selected item remain in list and other gets removed. Also, whenever i select an item the list viewer closes, i need to click again to see all the color.

If you want the selected color to replace the entire list, then set app variable color list to list [item]. You’ll need the list [1, 2, 3] block for that.


Sorry, I didn’t get you. How and where should i put that? In if condition or into the function??

Instead of this block:

Use this:


This is the list block I used:


So instead of removing the selected color from the list, the selected color will now be the only item in the list.


Thank You!!!