type = GetObjectType(handle)
See Object types for a list of all object types.
my_anim = LoadAnim(Nil, "test.gif") my_brush = LoadBrush(Nil, "test.png") DebugPrint(GetObjectType(my_anim), GetObjectType(my_brush))The code above will print the values of constants
#ANIM
and #BRUSH
.