Rotate up/down ?

i need help how do u rotate a prop that would be used as a lever in hammer

func_rot_button.

In future, please use the question megathread.