Now if you type your name in Textbox then how Construct 2 know what to do with it? Answer we can have Global Variable but, I am going to use DICTIONARY OBJECT.
Now when player type anything even single letter in Textbox we will store that TEXT in our Dictionary Object.
In our event editor enter this line:
txt_PlayerInput text changed this box will appear. Click on On text Changed where arrow is pointing and click Done.
Now Add action double clicks on Dictionary and this box will appear.
Click next new box will open up
Type in Exactly what I have typed in
input_Name
txt_PlayerInput.Text