Multitasking in RobotC

Can someone please help me how to write RobotC code for Multitasking in Driver Control. I want to engage a motor continuously by one click of a button on the controller and stop the motor by one click of other button. I don’t want to keep on pressing that button to engage that motor. Is there anyway to do that? Appreciate all helps.