> For the complete documentation index, see [llms.txt](https://obvious-game.gitbook.io/soap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obvious-game.gitbook.io/soap/scene-documentation/2_bindings/bindinputfield.md).

# BindInputField

2\_Bindings

It can be useful sometimes to save a string from an input field, for example the Player Name. Let’s see how the BindInputField bindings works.&#x20;

Select the PlayerNameInputField in the scene:&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfb-pwfe7pSx2YaB5pojvjOvl6uL0VRcdqm2m6KX1IGtqszad_FWuQa_pklNsQpmpItmUAtDC84ZEr3Ae6kM7wj3psj6_gCn2n80ERkbpPdBV3M-5xE-2gPwdAeWKSXd9uvhZEuXvO8cJElfo8XFvnh0cg?key=rYLTnURk3bHoj7o_CLwGjQ" alt="" width="375"><figcaption></figcaption></figure>

Now, on this object you should find the BindInputField component:&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd6cy40UQG-SYz9Q4hn896LBvf4SYdIm-3HI6e-SJh1beijECPw0J0hovHiH4FNUvkFVsXTTvytvzDxWQCeBkTEonXWspsXlX-g0Rb3qCR6zVM96TocfAzSHct1aSdB4vPvbNdXcx-JAT_PegJB_qmACzAZ?key=rYLTnURk3bHoj7o_CLwGjQ" alt="" width="375"><figcaption></figcaption></figure>

Play the game and enter a random name in the input field at the bottom of the screen. &#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcb7kLCKmpLd088K_EBRg9q5n1D3EDAvuPJQGaGddsHcBFCrA5PDnM_sOj8Lbck8IVtOR1sS0enICpklFtp7OQw7hWeOOWgWlruCl3myIRWYMq5iGmmLaTEpDIG2-iPxhDKUgLB62cIX8fIdx7vgHzp8OeD?key=rYLTnURk3bHoj7o_CLwGjQ" alt="" width="375"><figcaption></figcaption></figure>

Now stop the game and play again. You can see that the name persisted. In this example, the string variable: example\_string\_playerName is saved. Depending on your case, you can decide to save it or not.&#x20;
