Harry Potter Toilet Moving
There is no setting in Harry Potter where toilets can move. The so-called 'moving' phenomenon is actually an illusion caused by the non-fixed position of the ghost Moaning Myrtle. Here is a detailed explanation:

In the magical world setting of Harry Potter, Hogwarts Castle did not have modern toilet facilities before the introduction of the Muggle plumbing system in the 18th century. At that time, wizards dealt with excretion in a relatively primitive way. They would relieve themselves on the spot and then use magic to erase the traces. This method was quite different from the fixed toilet facilities gradually developed in the Muggle world, but it was in line with the unique operating logic of the magical world.
There is a ghost in Hogwarts Castle - Moaning Myrtle, who often appears in the toilets. Myrtle's behavior is very unique. She does not stay in a fixed position but randomly appears in different parts of the toilets. She may appear by the sink, quietly gazing at the water; she may suddenly appear in a stall, giving the person entering the stall a 'surprise'; she may even appear on the ceiling, hanging upside down. This non-fixed appearance makes people feel as if she is 'everywhere' when they enter the toilets, thus creating an illusion that the toilets seem to be 'moving'.
In fact, the toilets themselves are fixed architectural structures in Hogwarts Castle and do not physically move. This misunderstanding of 'moving' is entirely due to the special behavior and appearance of the ghost Myrtle. The magical world is full of various wonderful and mysterious phenomena, and the existence of ghosts is one of them. They are not bound by conventional physical rules and can freely move around every corner of the castle, adding a lot of mystery and eeriness to Hogwarts.




