def objScale(obj,factor):
    """
    Object scaling function, gets obj and scale factor, returns an array of the scaled size
    """
    oldSize = obj.get_size()
    newSize = []
    for i in oldSize:
        newSize.append(int(i/float(factor)))
    return newSize