I created a widget to open a specific door with button in the level. I used Get All Actors of Class and Get A Copy, but i think there should be a cleaner way to do it. Can i use references and casts for it, if i do, how can i use them?
You can give a reference to the door to the widget when you create it. It really depends on your code structure.
Why not have the door create the widget? Use a dispatcher, no references or casting needed.
How to organise comms is circumstantial. We’d need to know more about what you’re doing.
1 Like