How to cycle through widgets on click

Providing I understood it right (I get confused easily), it should be close-ish to this:

Do – to go the other way round.

Other than that, consider providing some visual clues regarding what’s needed. Oftentimes something that seems clear in your head and is relatively simple may come across as convoluted.

So I want to use these buttons to change the icons displayed on the right side to the next or previous 2.
The 2 coloured icons are a single widget and I want to change it to the next one (showing the next 2 icons or the 2 previous).
Starting to work in UE so I don’t know much.