How to avoid Click events on certain screen regions

The problem is that i don’t know if it will always be 3. The list items can be any number.