acConsumePhysicalInput(1) --Consume ALL physical input
acConsumePhysicalInput(0) --Allow physical input
Note, however, and I cannot stress this enough:
Once you call acConsumePhysicalInput(1), absolutely ALL mouse and keyboard input will be consumed by S+, meaning you will have NO ability to draw another gesture or press any key strokes!!
Use this with caution! Be certain you've thought it all through before that first call in your script. Also, I highly recommend that you save any open files in case you have to power off the computer, if something is wrong in your script and acConsumePhysicalInput(0) never gets called.
I find it's best to use these together in a SINGLE script, meaning something like this:
(move the mouse via S+, like acMoveMouse)
(click the mouse via S+, like acMouseClick)
(send some keystrokes via S+, like acSendKeys)