# Scenes in Processing

**URL:** https://discourse.processing.org/t/scenes-in-processing/40386
**Category:** Project Guidance
**Created:** [December 31, 2022, 3:36pm UTC](https://discourse.processing.org/t/scenes-in-processing/40386 "2022-12-31T15:36:10Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![debxyz](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@debxyz](https://discourse.processing.org/u/debxyz)
#### Post date: [December 31, 2022, 6:14pm UTC](https://discourse.processing.org/t/scenes-in-processing/40386/3 "2022-12-31T18:14:12Z")

</div>

Hello @OverLord

If I’m understanding your question correctly, the three threads below may be of interest:

> [@Loading different scenes after time delay](https://discourse.processing.org/t/loading-different-scenes-after-time-delay/22275):
>
> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147) So when the code begins to run (play), I want an image to fill the screen. After a time delay, let’s say 5 seconds, I want to load a different scene as in int sceneNum = 1 If sceneNum == 1 void scene1(){}

> [@Interactivity and scenes](https://discourse.processing.org/t/interactivity-and-scenes/16354):
>
> Hi everybody, I’m on the last step to finish my sketch, but losing my head with somoething I don’t get. Sketch has scene1, that lasts 5 seconds. Then, scene 2 has a button that activates animation called scene 3. Finally, you come back to scene 2 by touching scene 3. I did my best with the code, but I’m tragically blocked with void draw, can you help me? Thanks! int cx, cy; int offset; float secondsRadius; float clockDiameter; void setup(){ size(270,540); background(0,0,0); noStroke…

> [@Flow of my program](https://discourse.processing.org/t/flow-of-my-program/2506):
>
> Hey, so I am currently creating an interactive story with different scenes. Each scene has been created as an object. However, I am struggling with the flow of the program, I am currently using different keys to change scene but I would like to just use mousePressed to change each scene if that is possible? I have tried using this however once the mouse is pressed it performs all the scenes at one? Any help would be greatly appreciated. Thanks.

🤓

---

_[View the full topic](https://discourse.processing.org/t/scenes-in-processing/40386)._
