Made A Method To Toggle An Input Through A Code

Would have been easier to use an if(input == 1) statement.