I am making a html5 game and need to get input from a textbox. I have read that that I should make the textbox outside of the canvas instead of inside it, but I am not sure how I would go about that.
At some points in the game, I need the text box to be hidden. For example hide textbox when in main menu.