press w to go in front of you and s to go back. Press the space bar to hide under the bed.
Thanks to scott cawthon for making FNaF 4. Let me know if you found any bugs in the comments!!!