$ 0 0 In your `OnGUI()` code look at the string which is being entered into the TextField, and remove any characters that are not digits.