I’m not sure if there’s a way to do this or not.
Is there a way to figure out either the name a button that was pressed on a user created UI window, or get the name of the window that the button belongs to, or basically any way at all to trace what was pressed.
What I’m trying to do is open multiple character UI windows which are all laid out the same except button and window names are different. Ex. I have character A and character B, then I have A_UI_Window and B_UI_Window. And in each window there’s a button, say select all character controls, that calls the same procedure. In this procedure that gets called, I want to differentiate from which window this button was pressed so I know which character to select all the controls on. The windows are all built off of nodes and then created by running the same script on all the nodes, so there’s no way to hardcode any value in there.
Does that make sense, and does anyone have any ideas :?: