[Widget]Is this called every tick?


image
This is text box, and I have set it to change based on the contents of a text variable.
I am wondering if it is called only when the contents of the text variable change, or if it is called every tick regardless of whether the contents change or not.

1 Like

Those widget functions are called on tick.

Two ( of many ) ways around it

1 Use a reference to the widget, and just update the text from outside the widget when it changes

2 A lot of people like using callbacks, or bindings to update widgets

2 Likes