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.