MV Displaying Variables with SrDude's HudMaker

I'm watching Srdude's hudmaker tutorials on youtube and he showed the way to get switches is $gameSwitches.value(ID) so i thought it would be the same for variables and tried $gameVariables.value(ID) but the text element shows exactly what i typed and not the value of the variable. I've tried searching up what to do but with no luck

Super Tools Engine  -  HUD Maker  _  SumRndmDde 9_24_2023 1_33_58 PM.png
gem.png
vars.png
I'm watching Srdude's hudmaker tutorials on youtube and he showed the way to get switches is $gameSwitches.value(ID) so i thought it would be the same for variables and tried $gameVariables.value(ID) but the text element shows exactly what i typed and not the value of the variable. I've tried searching up what to do but with no luck

View attachment 277661View attachment 277664View attachment 277665
The value needs to be in the curly braces that were there before you changed it, IIRC
${$gameVariables.value(ID)}
The value needs to be in the curly braces that were there before you changed it
Wow I feel so stupid. I thought it had to be written the way he had it in the tutorial like switches since they weren't things related to the actors. Thank you so much!
most codes need ${ and } for text its or number you can do:

You got: ${$gameVariables.value(1)} gold and it shows or should show:

You got 100 gold (if variable 1 is 100 that is) or any value it shows.

Original thread: https://forums.rpgmakerweb.com/threads/displaying-variables-with-srdudes-hudmaker.161443/