How do you make a push button work as a toggle switch using PLTW natural language?

bool enable = false, btnState = false;
while(1){
    enable = sensorValue[touch] && !btnState ? !enable : enable;
    btnState = sensorValue[touch];
    if(enable){
       //do
    } else {
       //do another thing
    }
    wait1Msec(10);
}