Sure, and I think you can write the rest of
the code yourself, just change the line
if(mouse_right==1) to if(mouse_right==1 && key_alt).