Type conversion,Not correct, why?
why do you even need a cast. if the inventory slot is a child inside of the new var 1 widget (which should type of your actually inventory), then you should be able to directly grab it out of “new var 1”. otherwise you need to cast from “new var 1” to your desired widget type first and then get the component etc.
inventory slot need Type conversion,how to set
so new var 2 widget contains another widget of type inventory slot? or is it the inventoryslot itself?