Conditionnal branches with audio volume

Hello everybody !
I need help for a little thing.
What I want to do is showing a picture on certain audio volume.
for example: if bgm volume = 50; then "show picture 2"

I tried this in conditionnal branches:
if script: AudioManager.bgmVolume = 50
then: Show picture 2
if not: Show picture 1

The problem is that even if bgmvolume = 0, rpg maker keep showing picture 2 instead of picture 1.
You need to use double or triple equal signs for comparison (i.e. == or === - it 's better practice to use triples). A single eqal sign is used for variable assignment.
Oh I see. My bad haha. Thanks. <3

Original thread: https://forums.rpgmakerweb.com/threads/conditionnal-branches-with-audio-volume.94780/