i want to make for each time variable add 1 a widget come in the screen how can i make this can anyone help please
Sorry but your question is not understandable for me.
Okey i will give you an example When i lvl up i want widget come in screen say you leveled up so if the lvl varible got one added one widget come in screen
Okey i will give you an example When i lvl up i want widget come in screen say you leveled up so if the lvl varible got one added one widget come in screen did you understand
You can not attach a function on a variable change. Instead create a method/function which shows your widget and which attaches it to the viewport, like it is shown by Everynone.
Than call this method in the place where you are handling your level up. The best way to do this is to create a “level up”- method which handels the variable increase and the widget.
Yes I also thought about replication but didn’t know if multiplayer is a thing at all. The idea is good but brings overhead to something simple like calling a method in the right place. 

