Hi, oosyrag, Thanks for your response,
I think the overall code feels a bit lengthy. For example, there's a repetitive pattern eg.
"+ System: Pick BUTTON where BUTTON.AnimationName = String_LV"
However, some of these events also include a "Trigger once" condition. I'm not certain whether we can refactor these into a function to improve efficiency.
Edit 1.
Speaking about the code, its purpose is to auto Spawn icons and text on a button on the run time. When the animation name of the button matches the value of "String_LV",
and for the text, "Button_Name.Button_Name_iv" matches the value of "String_LV", it will Spawn and reposition itself to the button.
(TextVisibility_iv, Clickable_iv & ICONVisibility_iv are Booleans, if it is true, then it will be executed, in the given code, all are true)
Having said that the same code will be used in multiple buttons (same button sprite but different instance of button), with only variations in local variables, I posted this question to explore avenues for enhancing efficiency.