3D widget does not work with inventory

So if i’m understanding this correct i need to take this

and change every reference of this with this?

or am i missing something?