The court heard that police investigations tracked Cregan and his co-accused through their mobile phones.
CCTV was then played to the jury which showed a blue Ford Focus car pulling up outside the Cotton Tree at 11.49pm.
The prosecution say that Cregan, Livesey and Gorman were the men in the car.
The Ford can be seen putting on its hazard lights and pulling up at the side of the pub before a figure runs out of the car and into the building.
Mr Clarke said Raymond Young was in the bar and saw the door open. He saw the gunman enter wearing a black balaclava.
More top news
Relatives of Becky Watts have said her death was the "most undignified end to a beautiful life full of promise".
Some sunshine is breaking through the wintry weather as Spring arrives.
On this day in 1890 the Forth Rail Bridge was opened by the future King Edward VII and became one of the engineering marvels of the world.