yeah the code you are using also works, but isbutton1 etc does the same thing. I guess your way is better in other circumstances too

And yeah, i was about to make sure you had that set right