Edges in sloped faces

I have a sloped face, and I created a new edge in order to form a door, if I move the edge however, it moves in tandem with the Z axis, and the model being sloped, it gets deformed. Is there a way to force the edge to move down on the sloped model and not outside of it on the Z axis?

Select the edge and press ‘Ctrl + e’ and then select ‘edge slide’

Thanks a lot :smiley: