Setting up layer-based collision Please HELP ME

so i want my player to be able to go through the colider and my enemy to not be able to go through it164391-layer-collision.png

i was not setting it up in physics 2D