swipe to select objects

Hi everyone, I want to know how I can swipe my finger to multiple game object to select.
Lets assume that I have 9 blocks, i want to select number of block with one swipe and change the color or do what I want.


Hope this image can explain more about what Im trying to explain.
any hints please

Thanks :slight_smile:

You can add a event trigger component to the block and there are many options.