Problem with Hud Maker plugin from SRDude

I try to show a variable in the text of his Hud maker.
I tried this: Bread: ${$gameVariables.0001()} or Bread: ${$gameVariables.bread()}
I tried other things to, but I can not get the amount of Bread I own. it gives a error

Anyone a idea?

Thnx Solvius
$gameVariables.value(1)
Thnx Poryg.
Took me the whole night this 🙂
I am trying to show a item in a text

I did this: Bread: ${$gameParty.gainItem(2)} then it says undefined
I also did this: Bread: ${$gameParty.Item(2)} gives a error

Does anyone know whats the correct way to show the amount of a item in the text of Hud Maker
$gameParty._items[2] || 0
(the || 0 serves as a "Place 0 when you don't have any bread". Otherwise you'd have "undefined" there, which doesn't look nice 😀)

Next time you have a problem with finding something, launch a game, open dev console and type in $gameParty
and then you'll see.
Thnx Poryg
Where do I type $gameParty? I see no textbox in the dev console.
First you need to click on it, then you type.
Screenshot_37.png
I get this?

https://i.gyazo.com/327ac9b2ebac4b2223288d2183259b07.png
Yes, that is correct. Then when you click on what jumps out as a result, it should expand and showw you all sorts of variables.
ok, I have not much in the game yet so I will build more to see what happens then.

Thnx Poryg

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-hud-maker-plugin-from-srdude.101561/