Just select the tilemap and click on new tile set, then when the window at the bottom appear, drag the sprite, select the region of the tile that you want, then click on collision, then the rectangle to make a collision rectangle or polygon, as you want, and then when you make the collision on the right window, it will appear a one way collision option just check it