How do I remove only a piece of a background in Inkscape?

That is the correct way to do it :slight_smile:

I’m guessing you’re currently using a mask, which hides a section in your art program - but it’s still actually there. The option, if you want to keep it as a vector, is to physically cut off the lines of code (via node editing).