Hiding layers with an action

I have a bunch of layers named:

“Menu_Research1”
“Menu_Research2”
“Menu_Research3”
“Menu_Research4”
“Menu_Research5”
etc

When I have a scene variable set to 1, is it possible to write down an action to hide a whole set of layers like for example:
Hide layer “Menu_Research” +ToString(Range(2-9))

The above doesn’t work or exist, but is there a different way to write it down and achieve what I’m looking for?

Thanks

There is,
You can make a repeat loop.
Set variable (count) to 1
Repeat 9 times
Hide layer “research”+variableString (count)
Change variable(count) add 1

But the setup is pretty unnecessary for just 10 layers imo.

you can try something like this, and adjust the number of repeats