ResizeBox
Changes the dimensions of a box.
Syntax
C++
Python
def ResizeBox( inBox: Box, /, *, inAnchor: Anchor2D = Anchor2D.TopLeft, inNewWidth: int | None = None, inNewHeight: int | None = None ) -> outBox: Box
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inBox | Box | Input box | ||
![]() |
inAnchor | Anchor2D | Anchor2D.TopLeft | Point of the box which position will not change | |
![]() |
inNewWidth | int | None | 0 - ![]() |
None | Target width of the box |
![]() |
inNewHeight | int | None | 0 - ![]() |
None | Target height of the box |
![]() |
outBox | Box | Resized box |



