So i’m working on a tile map editor and i have a grid of buttons with textures on to show what each tile currently is and when the button is clicked it cycles through to the next tile and texture in the list. I only have a small list of 5 tiles at the moment but i can see if the tile list gets too long then if i click the button one too any times ill have to cycle through all the tiles again. So im just wondering is there any way to do something like a RMB click does one thing and LMB does another but on the one button?
Yes. You can check Event.current.button