Five young people in a gymnasium, one of whom holds a basketball, are all looking attentively in the same direction.
The five young people are looking the same way.
Looking in the same direction can also be described as looking in the same way. Direction and way are synonymous.
(-x)
(-x)