Custom Collision Mask

How to define custom collision mask on physics objects
only circle and rectangle avaliable