# Getting a variable from another scene

**URL:** <https://forum.kirupa.com/t/getting-a-variable-from-another-scene/41020>\
**Category:** Uncategorized\
**Created:** [January 24, 2004, 9:45pm UTC](https://forum.kirupa.com/t/getting-a-variable-from-another-scene/41020 "2004-01-24T21:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Hed](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Rob\_Hed](https://forum.kirupa.com/u/Rob_Hed)\
**Post date:** [January 24, 2004, 9:45pm UTC](https://forum.kirupa.com/t/getting-a-variable-from-another-scene/41020/1 "2004-01-24T21:45:59Z")

</div>

Is getting a variable from another scene possible? I am using a script that detects whether the music is playing or not so when you click play it doesn’t overlap the sound. This works great when you stay on the current scene. However, when you click to the next scene, it doesn’t remember the variable “songstatus”.

Example: [http://www.neteclipse.com/test/index.html](http://www.neteclipse.com/test/index.html)

rollover the rectangle bottom right and play music then click on web and try it again.

Help please…thanks.
