so im trying to make a menu for all the characters in game by using a actor component and also game modes
note that im using 2 game modes 1 wich runs the battle system 2 wich shows the list by spawning children into a grid widget
so the spawned children are buttons right?
now i want those buttons to change a variable called in party
the variable in party comes from an actor that tells the child wich image and text to use
so how do i cast it backwards from the child widget to the parent aka the actor?
i just want to make a list of characters and set them as available or not
here are some images of the code to get a better idea
https://cdn.discordapp.com/attachmen…67/unknown.png
https://cdn.discordapp.com/attachmen…00/unknown.png
https://cdn.discordapp.com/attachmen…40/unknown.png
https://cdn.discordapp.com/attachmen…46/unknown.png
https://cdn.discordapp.com/attachmen…23/unknown.png
if you have any questions or know how can i get the function that im looking for please respond