If/else

you guys and gals, If i wanted to use a if/else statement to find out if a button had been rolled over, how would i do that?

thanks in advance legion :slight_smile: