The Robot Program Episode 021: Detect Face and Wave - Blockly
Step 14
Select Movement from the menu, then click and drag AutoPosition (Wait) underneath the previous command.
Functions that have b[/b] in their name will run completely before moving on to the next command.