I put the digital continents on one layer and then on another layer I drew around the coasts with the tablet then masked out areas on both layers to show/hide what I wanted in order to get the effect.