I created a game object to display the player’s currency on the screen and successfully displayed the currency registered as a project variable using the [Display Text] visual script. However, is there a way to hide this?
I wanted to toggle the visibility as needed, so I tried setting the visible property to off in [Property Settings], but it did not work. Is there an issue with the configuration method?
An easy way to hide DisplayText is to use the ‘Close On State Change’ setting. If it is toggled, when the object leaves that action the text will disappear.
When a situation comes up where you want to hide it, just ChangeAction the money object to a hide state (no actions) and then when you want to show it, ChangeAction back to the DisplayText state:
The option “End display when state switches” in the items you provided was already checked from the beginning. The issue was resolved by stopping state switching via links and instead switching states using “Execute specified action.”