Contiguous fill help

One time when I was making a map, I accidentally found a way to make the bucket fill tool to fill all tiles that are the same regardless if they are connected or not. Now I cannot figure out for the life of me how I did this.

Say I have a lake, a grass island in the middle of the lake, and grass land all around the lake. Say I wanted to make all grass into sand, we are talking both around the lake and the island in the middle, what would happen is I would click just the island or just the area around the lake and both the island and the lake would fill with a sand tile.

Now I cannot figure out how I did it before.

I spent two hours fine tuning a map with hundreds of tiny little fills and I saved numerous times while doing this, and I saved after I finished. After that, I spent a few more hours working on enemies, items, and events on another map—only to come back to the map I spent two hours on and literally everything reverted. Two hours of work gone—yet everything I did after that is still intact.

Now I am trying to figure out how I found how to fill all like tiles at once when I accidentally discovered it. I could have sworn to Arceus it was right click instead of left click but that does not do it. I also tried the usual, ctrl click, shift click, and alt click and those do not do it either.

The thing is, I accidentally did it weeks ago and I do not know how I did this.

I Googled 'RPG Maker VX Ace contiguous fill' but nothing came up.

How did I do this before? How do you fill all like tiles regardless if they are touching or not?

Original thread: https://forums.rpgmakerweb.com/threads/contiguous-fill-help.157128/