Now let's make our textbox looks like textbox.
Save unselected.png and selected.png from Tutorial Downloads.
We will use these two sprites to show state of our textbox.
Add it into your project, call it textbox and edit source text size to fit this textbox.
Add new variable selected which will help us change textbox state.
Unite our two last events with if selected = 1 condition.
Now let's make a visual display of textbox.
Start with simple Every tick - set textbox.animationframe = selected
Now add Mouse object and these two simple events:
Now everything should work fine.