Swapping two cards

Hello Forum. Is there a way to swap two cards? Something like 1) select two cards/tokens, 2) right-click one of the card and select the Swap option, 3) the cards change location (card A goes to card B’s place, and so). This solution will also need a foolproof feature if <> two cards are selected.

I’m joining a base module for you to try. BTW, I need babysteps to the solution, or a module that already has this feature. I’m only at my fifth module.

Thank you.


How many card slots do you need to cater for ?
Is it just 2 ?

Two cards out of a possibility of five cards slots.

I’m updating the module to include five cards and card slots.