Godot - Invalid Access property issue when dragging instanciated button for inventory

The </> button is in the text editor, looks like you can also press ctrl+e. It will make the three ticks I demonstrated, which you can also write manually. That is where to paste your script, overwritting the part that says “type or paste code here”

```
type or paste code here
```


if it’s actually lowercase currentItem then the “inventory” script is wrong, trying to access a capitalized CurrentItem