ResizeBox_Relative
Resizes a box to relatively defined dimensions.
Syntax
C++
Python
def ResizeBox_Relative( inBox: Box, /, *, inAnchor: Anchor2D = Anchor2D.TopLeft, inHorizontalScale: float = 1.0, inVerticalScale: float = 1.0 ) -> 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 | |
![]() |
inHorizontalScale | float | 0.0 - ![]() |
1.0 | Scale factor of the horizontal resize |
![]() |
inVerticalScale | float | 0.0 - ![]() |
1.0 | Scale factor of the vertical resize |
![]() |
outBox | Box | Resized box |



