You might be thinking of the Polygonal Lasso tool
If you right-click on the normal lasso tool, you'll see the option to lasso with the Polygonal Lasso or even the Magnetic Lasso.
With the Polygonal you will be able to click on various points of the image and create a larger, non-linear area for selection. You can then double-click on another point and have the last point joint up automatically with the first or come back again yourself on the origin point.
With the Magnetic, you gently guide the selection tool around the lines of your image and it will try and trace it best it can for you. The more contrast between the areas you're tracing, the better the tracking.