Is variable changed

Hi,

what is the best way to check if the value of a variable has been changed?

Thanks in advance,

You can check variable every frame. What are you trying to achieve?

i want to make a check and if the value from a string for example changes over time it needs to call a function when it changes again call that function again, etc

2 Likes

@Sardorian. Very Nice. A simple and elegant way to do something only if the variable changed.