Change AIm Button

Hi guys, im trying to work out how to change the Aim Button (right hold of mouse) to a click option of stay on until clicked again. I keep going over the variables and bits but going in circles as im still learning and lost lol…