Use a counted delay
Set a self-timer, agree where the photographer will stand and try the route once before taking the picture.

Solution · Family activities
A stable camera position makes a group portrait feel less like a last-minute dash.
See the approachesSet a self-timer, agree where the photographer will stand and try the route once before taking the picture.
If the camera supports a remote or paired watch, frame and focus first. Hide the remote only after making one usable frame.
When there is nowhere stable to rest the camera, swap photographers and display the two pictures side by side. Each one shows who made the other.
Leave space for the last person before you start. Ask everyone to look at the lens.
Keep the same setup for one relaxed photograph made immediately after the posed one.
Save both the posed and relaxed frames and identify the occasion while everyone remembers it.
Use a stable wall ledge or table and the camera's built-in timer.
Pick the trigger that lets the photographer join the picture without rushing.
A counting delay, a remote shutter and a clearly marked pair of photographs solve different kinds of group shot.
From this discovery