Different from conventional 2D sliding ferroelectrics with polarization switchable in the out-of-plane via interlayer sliding, we show the existence of in-plane sliding ferroelectricity in a bilayer of a pentagon-based van der Waals heterostructure formed by vertically stacking an experimentally synthesized penta-PdSe