r = HaveObject(type, id)
True
or False
depending on
whether or not the object is in memory.
See Object types for a list of all object types.
True
if object is available, False
otherwiseDebugPrint(HaveObject(#BRUSH, 1))The code above prints
True
if brush number 1 is in memory, otherwise False
.