HoverAction ShowText

Hello!

I am trying to create a Text object that uses a hover action to show text. However, I am not able to do so. I see it in the source, and eclipse is telling me in auto complete that it exists, but once i utilize the code, it does not work, saying that the constructor for HoverAction.ShowText(Text) is not visible. :frowning:

Is this an error, or am I accessing the hover text incorrectly?

Thanks!

You want to do TextActions.showText() instead of new HoverAction.ShowText()

1 Like