Clicking a button changes the scene when it's not supposed to and there is no change scene action

Describe the bug
When you press the mute button for sound or music, it takes to to a different scene even though there is no go to scene action anywhere near the button.
Share the complete GDevelop project showing the bug
how do i share the asset?

Is there a button or object on another hidden layer that would trigger this?
Remember hidden layers are still there and fully functioning, they are just invisible.

1 Like

there was but I put the condition that the buttons in the hidden layer below are only activated when their layer is visible and the new layer is not visible. i even set on and off variables it didn’t make a difference. its okay I fixed it now but the only thing I could do in the end was delete the object when switching layers and recreate it when the layer is visible.