a mass of people looking and moving in the same general direction.
A mass of people moving in the same direction in order to find the object.
A mass of people looking and moving in the same general direction are not necessarily doing so in order to find an object.
They may be moving for some other purpose rather than to find object
We have no idea if they are trying to find an object, they could be doing a number of things.