To paint behind a toilet without moving it, all you need to do to keep it safe from paint splatter is cover the toilet tank with a garbage bag.
How To Paint Behind A Toilet (Without Moving It)

47
To paint behind a toilet without moving it, all you need to do to keep it safe from paint splatter is cover the toilet tank with a garbage bag.