

bool State;
if (GetAsyncKeyState(VK_RBUTTON))
{
if (State == true) // if scope is activate
{
// Scope = 0 ( Put scope value to 0 )
State = False;
}
if (State == False ) // If scope is off
{
//Scope = 1
State = True
}
}
