API Referencecoregeompackingmax-rectpackMaxRectanglesOn this pagepackMaxRectangles packMaxRectangles(width, height, boxes) ⇒ boolean Packs AABB2 boxes into defined bounds Kind: global function Returns: boolean - true if packing was successful, false otherwise ParamTypewidthnumberheightnumberboxesArray.<AABB2>