Longshore drift process; The direction of the waves hitting the coastline is determined by the prevailing wind. If the wind is blowing at an angle to the beach, the waves (swash) will approach the beach at this angle, transporting the sand and pebbles with them. As the returning wave (backwash) is being pulled by gravity, it will take the shortest route back down the beach, and it also takes the pebbles with it. It always goes back down the beach in a straight line at 90 degrees to the coast. In this way, material is moved along the beach until it meets an obstruction.