Keyboard scripting

Ines Hilz
Ines Hilz Posts: 38 🔥

Hi all :)

I want to use editable text and looking for a way to trigger something when the user presses enter / closes the keayboard. Is it possible ? thank you :)

Best Answer

  • Max
    Max Posts: 26 🔥
    #2 Answer ✓

    not sure if you still need it, but in case someone else is reading this:
    use the onEditingFinished event on the Text Component!

    Here's an example that prints 'hi' when the user is done typing:

    //@input Component.Text textComponent
    function doOnFinished(){