I'm working on the back of Steve Ruiz's excellent example of using arrays, logic and functions. But extending things more, by:
1. Importing a sketch file and targeting layers to add dynamic content 2. On layer selection, add the selected item to a new array 3. Allow selected items to be only added once, and removed from selection by either array.
BUT I'm stuck, and need some help: 1. how to add only one item (check the array for duplicates) 2. how to then remove the item from either the topping list or selected toppings.