Post History
Mark Baker has a great answer if the simultaneous action and dialogue is a one-time thing, which I assume is the case here. But if a character has a persistent tic interwoven with their dialogue, ...
Answer
#3: Attribution notice added
Source: https://writers.stackexchange.com/a/33244 License name: CC BY-SA 3.0 License URL: https://creativecommons.org/licenses/by-sa/3.0/
#2: Initial revision
Mark Baker has a great answer if the simultaneous action and dialogue is a one-time thing, which I assume is the case here. But if a character has a persistent tic interwoven with their dialogue, you might need to develop a shortcut so the reader "knows" when the tic happens without explicitly writing about it. I think the _Butch Cassidy and the Sundance Kid_ screenplay by William Goldman had a good example of this. A tobacco chewing character constantly spits and then shouts "bingo!" or "dammit!" depending on whether he hit his intended target. Soon, the spitting is no longer mentioned explicitly, but there are _bingos_ and _dammits_ sprinkled throughout the dialog. They form a very efficient shorthand for indicating that the character spat again and hit or missed the target.