
At the other end of the room the blocks will finally stop moving, providing a staircase to the second Star Coin - provided you move fast before they turn back to coins. Hit the P switch to make them blocks, and chase them to the other side of the room, dodging Boo's.

In the next room you'll find that group of coins continue to elude you as you chase them. Use the P Switch on the other side of the room to open it up, allowing you to use the door. Star Coin 2 - Further into the level you will come out a door with another door right below it, though the opening is blocked up. After hitting the P switch in the first room, make a path to the door on the left, but then head back to the wall above the Star Coin, which will now open up to reveal a way in. The first Star Coin can be obtained in such a fashion.

Many of these walls are not walls, but rather a veneer over blocks which turn into coins when a P switch is used. Star Coin 1 - A common theme in this ghost house is that many apparently-solid walls become accessible thanks to a P switch.
