Voice actors working on an animation project are supplied with a script and they perform based on that script. The animation happens after the script is recorded.