Get the "text" Value of Nifty Text Field in JME3 command

Hello, how can I get a text value from nifty textfield using jme3 codings…

Some hints there… Thanks. :slight_smile:

1 Like

[java]nifty.getScreen("screen_id").getElementByName("textField_id").getRenderer(TextRenderer.class).getText();[/java]

completely off the top of my head, some of those methods might not exist, but its something like that.

Thank for help wezrule…

1 Like

if you are satisfied with my service, please show appreciation (thumbs up), thanks and have a good day.

1 Like