This may have been asked before but I haven’t found one that works. I want the player to be able to put a number from 0-99 in a textbox and not be able to use letters or symbols.
Develop games in your browser. Powerful, performant & highly capable.
Set Type=numbers in TextBox properties.
To limit the number of characters to 2:
TextBox On Text Changed -> TextBox Set text to left(self.Text, 2)
Also, see Tutorials section, there are lots of helpful examples on how to customize texboxes:
Thats what i was looking for. Thanks