# Adding a restart button and ending door

**URL:** <https://forum.kirupa.com/t/adding-a-restart-button-and-ending-door/174102>\
**Category:** Uncategorized\
**Created:** [January 2, 2006, 10:10pm UTC](https://forum.kirupa.com/t/adding-a-restart-button-and-ending-door/174102 "2006-01-02T22:10:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![buya7](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@buya7](https://forum.kirupa.com/u/buya7)\
**Post date:** [January 2, 2006, 10:10pm UTC](https://forum.kirupa.com/t/adding-a-restart-button-and-ending-door/174102/1 "2006-01-02T22:10:06Z")

</div>

How can I add a restart button and ending door to Nathan’s tutorial? I’m a pretty big begginner and I like to know the code. Like, when you get all the coins the door appears. Also, how can I make a restart button that is always there, and follows the screen, when I only have one frame in the whole game? Thanks
