Returns the maximum number of bytes of text allowed in the edit box. Note: Unicode characters may consist of more than one byte each, so the behavior of a byte limit may differ from that of a character limit in practical use.


maxBytes = EditBox:GetMaxBytes()


  • maxBytes - Maximum number of text bytes allowed in the edit box (number)