Yelling for joy, Sue waved at Errol.
This is because "Yelling for joy" is a participial phrase that describes Sue's action. We use a comma to separate a participial phrase from the main clause of the sentence when it comes at the beginning.
Yelling for joy, Sue waved at Errol.
This is because "Yelling for joy" is a participial phrase that describes Sue's action. We use a comma to separate a participial phrase from the main clause of the sentence when it comes at the beginning.