Switch all the possible regions (excluding the main region) in a specific index to visible or invisible.