How to create randomizer like in Emoji Imitation filter?

I want to create a randomizer with moving icons like in Emoji Imitation filter. After the randomizer stop, I also want to get the selected icon (lets say the icon that stop at the center position), so I can assign the next face mask according to that icon.
How to execute this idea in visual scripting? Thanks.