I'm not a ghost I swear

There's a game that i don't remember the name of but your game window moves around and you can keep it in place by using stakes and throwing them at the walls of the window.