Illustrator canvas

how do i make it so that when i export it only exports whats inside my canvas outline… right now its saving everything on the screen… including the stuff i masked out…