The first is correct, but the second is not.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymous why can't I use `by´ in place of `comma´ in the sentence, `` She sat before the mirror, turning her head from side to side.´´It simply makes no sense. In that sentence, 'by' means 'using the method of'; it does not mean 'while'.