What am I supposed to make the “object”? I’ve tried player controller and everything and it says it isn’t inherited from there so it will always fail. I’m trying to just edit an integer from another widget inside this widget, is there a better way of doing this? Please help.
What object to I cast from in blueprint to blueprint casting?
You need to find that other widget’s reference(light blue). When you create the other widget using CreateWidget you have to send that reference to that widget. Create a variable in that widget that is a Screen widget reference(light blue) set it to editable and exposed on spawn. Then when you spawn that widget plugin the Screen widget to that. Now you can modify the Screen widget variable inside that widget.