LibGui icon indicating copy to clipboard operation
LibGui copied to clipboard

How can I dynamically update WBar's tooltip?

Open ezioleq opened this issue 3 years ago • 1 comments

Is there a way to update the WBar's tooltip dynamically like the WDynamicLabel gets its text each time it renders? Currently I'm using withTooltip() method and the tooltip only updates when the GUI is created.

ezioleq avatar Apr 20 '21 11:04 ezioleq

You can use withTooltip whenever your data is updated, or in your screen's tick method (note: that method is client-only, which is really what you'd want in this case).

Juuxel avatar Apr 20 '21 16:04 Juuxel