API:Class/RbxGui/AutoTruncateTextObject

AutoTruncateTextObject

Warning: When calling this function, you should use a . to index it, rather than a :
Function of ExplorerImageIndex27.pngRbxGui
Variant<TextLabel, TextBox>, function<void>(string) AutoTruncateTextObject (
    Variant<TextLabel, TextBox> textLabelToAutoTruncate
)
Parameters:
  1. textLabelToAutoTruncate

Returns: Variant<TextLabel, TextBox>, function<void>(string)
Description: Adds automated truncation to a text-based GuiObject. Returns the object that was inputted, and a function that allows you to change the text of the object.