Formula UI¶
The Formula UI component allows you to display the result of an expression between two game objects with a Traits component. To create one, click on a game object's Add Component button and navigate to Game Creator → UI → Stats → Formula UI.

The Source and Target fields reference the game objects (both default to the Player) that are used as the source and target of the Formula asset. Besides them and the Formula, all fields are optional and all that needs to be done is to drag Text and Image components to the corresponding fields.
Formula UI
For example, to display the resulting value of a Formula applied to the Player and another character, drag and drop the Text component onto the Value field and it will automagically update its content, even if any of the targeted game objects changes. The Ratio Fill image can also be used to display the resulting value as a fill amount.