Scripts for diagonal buttons