The viz.choose(...) command will block the main graphics loop until the user has selected an item. This means all rendering will stop until the user makes a decision. Your code starts the avatar animation and then immediately displays the dialog box. Do you want to display the input box after the avatar has finished the animation or do you want to display it while the avatar is performing the animation?
|