Returns the object's widget type

Signature:

type = UIObject:GetObjectType()

Returns:

  • type - Name of the object's type (e.g. Frame, Button, FontString, etc.) (string)