pay attention to me -- 注 意 我 说 话 .
pay attention to the teacher 注 意 老 师 说 话 .
pay attention to what they are doing.注 意 看 他 们 做 的 .
It should be to 'focus on doing sth.'If we use 'pay attenton',we should always us "to".At least this is what I understand.