# Scene Switch Actions

**URL:** <https://extensions.streamer.bot/t/scene-switch-actions/65>\
**Category:** Unapproved/Deprecated\
**Tags:** obs, twitch\
**Created:** [June 28, 2023, 1:26am UTC](https://extensions.streamer.bot/t/scene-switch-actions/65 "2023-06-28T01:26:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TerrierDarts](https://extensions.streamer.bot/user_avatar/extensions.streamer.bot/terrierdarts/32/8_2.png) [@TerrierDarts](https://extensions.streamer.bot/u/TerrierDarts)\
**Post date:** [June 28, 2023, 1:26am UTC](https://extensions.streamer.bot/t/scene-switch-actions/65/1 "2023-06-28T01:26:17Z")

</div>

**In Streamer.bot 0.2.1+ This has been built in as a trigger so is no longer needed.**

This extension requires SB 0.1.14 to work. However there is a 0.1.12 Version at the bottom this wll be more like the example in the video.

# Tutorial

[![](https://extensions.streamer.bot/uploads/default/original/1X/658fa849772161d65cd75e08a0ed1b72eb19a254.jpeg "EASIEST METHOD FOR SCENE SWITCH EVENT IN STREAMERBOT") ](https://www.youtube.com/watch?v=9Gx7b46y0S8)

# Import Code

```auto
TlM0RR+LCAAAAAAABADlV1lz2zYQfu9M/wNHz4EHIA4SebOVxEcbJbZiy1aVBxxLijFFqjwkK5n894JkFEuy04lbN+O2HNMUsIvdxQL77e6nn3/yvN4CijLJs95zz3/WTmRqBm7U63VDZSpHLt3Mb83Y8z51H0dKbMNnbSSoNBoJEgJiREdIEmaRCS0NgTOljOxktYt+r6Fu5Gd1mt7OQqZ0Co28qqhhY/7GpLWFV0U+O0rKKi9WjiVSabnBszb4pC4rrz9VVZVk8YbGuMjrecMwNJDBcJlUZrpBVulSrcqzOrsruVCZzWf7rQfuUk2embooIKvu0u54bctzLUsFN83C3rtpUnru7xvmt7zzAiJwquy+MXndKsTbHN1Z+MwqaoVGKpARYoJrFPIIEIgoEoIBcMJ3RC8hiaetwL0dkdVq3viV7Eyv3bl1gH92iJ19mYWbRsvt7Odn33LNQqXtHekN8xk0PskySL23eZ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UY0xQpzQiiWoQRSBEBBD8mkzRH55pfb5hvVpZPNZfsVofVFLzbLfyNui8KhQ/ED1xpo7GrdALXxVtMUcTdubj+nkqym5SedBe/28BH0b0pNTKcUCYYohBpxHzGUEiJdnlV2EBhI3y+u/Bptg2PVvJiH7tGXURIS1dfsEC65t0FJMIuWiWDMHRt63+x5G0+HWeHNhtL3bLZzEX1mv/zHynsq/bGFAAA

```

# Installation

In Streamer.bot in select `Import` from the top left.  
Copy the `Import Code` and paste it into the `Import String`.

Next thing to do is it tie the Action `SceneSwitch` to the swapping scene event in OBS which is different depending if you are using Websocket 4.9x or Websocket 5.

If you use Websocket 4.9x you will need to set up the OBS event like in the video it should look like this. You will tie the `SwitchScenes` OBS Event.

 ![SceneSwitchWS4](https://extensions.streamer.bot/uploads/default/original/1X/dd2fb10a594f7021e0a605c93e7b1cbd13a5869d.png)

If you are using Websocket 5 you will need to set up the OBS event not like in the video, instead you will use the Event `CurrentProgramSceneChanged`

 ![SceneSwitchWS5](https://extensions.streamer.bot/uploads/default/original/1X/310f11d161339865fb4874855b42aeb7c433408f.png)

After then you will need to create an actions that are named identically to your scenes. This will mean when you switch to a scene Streamer.bot will try run an action of the same name. If you switch to a scene called `Just Chatting` then Steamer.bot will try look for an action called `Just Chatting` if it exists it will run it. If the action doesn’t exist it will run the action called `SceneDefault`. If you don’t want a default action to happen this action can be deleted or disabled.

The same effect can be achieved in UI with if statements as explained here [https://wiki.streamer.bot/en/Broadcasters/OBS/Events/Scene-Events/CurrentProgramSceneChanged](https://wiki.streamer.bot/en/Broadcasters/OBS/Events/Scene-Events/CurrentProgramSceneChanged)

# Extended Feature

**0.1.12 or lower Version**

```auto
TlM0RR+LCAAAAAAABADlV+tT2zgQ/34z9z948rliZEl+qDP9AKGFwDQ0hBDgwgc91o6pHzk/CCnD/36y3ZQ84Kbc0E7vTpPE1u5qd/XT7mpz//tvltW5hbyIsrTz1iJvGkIqEjCzTqedClUadmEof9Rzy7pvH4YV6VqOehq4ixmizA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