Aplly mask to N layers (Selecting quantity)

Hi!

I think than a third mask option is needed:

1) Next

2) Next N layers (With a custom number of layers than reach the mask) <---

3) All After

I'm trying to avoid create N masks with animation, and create only one to get better performance :)