From what I have read, they can sometimes be found at depth, 40 to 60 feet but generally populate tidal flats. They can tolerate several hours out of water (when the tide goes out) and higher light intensities.
This is a good but short read.
https://www.advancedaquarist.com/2010/11/inverts
This is a good but short read.
https://www.advancedaquarist.com/2010/11/inverts