Hi —,
I'm having trouble understanding your diagram.
Do you want the gun to rotate a minimum of 5 degrees if a button is tapped, but if the button is held then keep rotating until the gun is at 270/325/0/35 degrees?
Yeah, to me it looks like he wants it to stop at those increments when held down... so it will rotate by 5 degrees until it reaches XYZ angle then stop, until the user presses again.
This could be a tricky bit of logic actually... hmmm...
~Sol