Boys with their backs against an incoming wave.
A group of people sit on the beach.
The waves can come after people sit or stand on the beach.
They can sit or stand.
A group does not have to consist of only boys. Just because there is a wave, does not mean that they are on a beach.