A group of people point forwards while performing some kind of act.
A group of people point forwards while doing something.
The group of people is "performing some kind of act", which means they are doing something.
(-x)
(-x)