Only the Pacific coast along South America is desert. Most of the Pacific coast line in the rest of the Americas is not desert. In South America the prevalent wind direction is from the east. The Andes Mountains prevent moisture from the east from crossing, creating a rain shadow desert along the Pacific Coast. In North America the prevalent wind direction is from the west so the coast receives rain. However, the mountains prevent the rain from moving inland so rain shadow deserts form in these areas.
The Pacific Coast.
The Atacama Desert is on the Pacific coast of South America.
The Atacama Desert is located on the Pacific Coast of South America,
The Sonoran Desert in Mexico is on the coast as is the Sechura and the Atacama Deserts of South America
The Atacama is located on the northwest coast of Chile on the Pacific Ocean.
The Atacama Desert in northern Chile.
The Atacama Desert extends into southwestern Peru along the Pacific coast.
Some say that the Atacama Desert on the Pacific Coast of South America is the driest desert on earth. Others say that Antarctica is even drier.
The Atacama is located along the Pacific coast of Chile and Peru.
The Sechura is a cool, coastal desert found along the Pacific coast of Peru.
The Atacama Desert of South America on the Pacific coast receives virtually no rainfall on average each year.
You did not provide the name of a continent in your question. However, in North America the Sonoran Desert reaches the west coast of Mexico. In South America there is found the Atacama Desert along the coast and in Africa the Namib Desert borders the Pacific. There are others.