# Interface that has multiple sketches

**URL:** <https://discourse.processing.org/t/interface-that-has-multiple-sketches/10144>\
**Category:** Coding Questions\
**Created:** [April 9, 2019, 7:37pm UTC](https://discourse.processing.org/t/interface-that-has-multiple-sketches/10144 "2019-04-09T19:37:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaecodes](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@kaecodes](https://discourse.processing.org/u/kaecodes)\
**Post date:** [April 9, 2019, 7:37pm UTC](https://discourse.processing.org/t/interface-that-has-multiple-sketches/10144/1 "2019-04-09T19:37:04Z")

</div>

Hello, I am new to processing and basically I want to create a user interface where users can interact, that activates different sketches that I have created, using keyboard keys. I am not sure how to put sketches within a master sketch. Is there a good source for this?

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [April 9, 2019, 10:00pm UTC](https://discourse.processing.org/t/interface-that-has-multiple-sketches/10144/2 "2019-04-09T22:00:09Z")

</div>

There used to be a tool for exactly this, but I don’t think it exists still.

If you have the code for the various sketches, you can restructure things to allow this. See here: [http://jtoprocessing.tumblr.com/post/38867546415/a-way-to-switch-among-multiple-processing-sketches](http://jtoprocessing.tumblr.com/post/38867546415/a-way-to-switch-among-multiple-processing-sketches)
