# Spacebar and escape key

**URL:** <https://forums.sketchup.com/t/spacebar-and-escape-key/79768>\
**Category:** Ruby API\
**Created:** [October 23, 2018, 6:40pm UTC](https://forums.sketchup.com/t/spacebar-and-escape-key/79768 "2018-10-23T18:40:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eneroth3](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/eneroth3/32/1222_2.png) [@eneroth3](https://forums.sketchup.com/u/eneroth3)\
**Post date:** [October 23, 2018, 6:45pm UTC](https://forums.sketchup.com/t/spacebar-and-escape-key/79768/2 "2018-10-23T18:45:36Z")

</div>

(Moving my answer here.)

> [@Spacebar and escape key doesn’t work](https://forums.sketchup.com/t/spacebar-and-escape-key-doesn-t-work/74454/7):
>
> can you please give some examples where exiting an extension does not warrant ending in the Select tool.

Sometimes you may want to PushPull after using the tool, sometimes you may want to draw a line and sometimes you may want to use the tool from another extension.

SketchUp doesn’t really have a concept of exiting a tool, just activate another one in its place. An ‘exit’ button in a custom Ruby tool isn’t really an exit button, but an “activate Select Tool” button, and we already have one of those as the largest key on our keyboard.

Adding a new button for activating Select tool is both redundant and inconsistent to the native tools. Ruby tools activating Select when the user presses Esc could be one of the reasons why some user confuses the two.

---

_[View the full topic](https://forums.sketchup.com/t/spacebar-and-escape-key/79768)._
