Skip to main content

Screen Transform

The Screen Transform component allows you to manipulate the position, rotation, and size of 2D Scene Object or Screen Image.

screen transform component

Screen Transform is a built-in component for 2D Scene Object and Screen Image, and can be found in the Inspector panel.

Properties

PropertyDescription
Position (X, Y)The location of the pivot point of the bounding rectangle relative to the center of the screen. The default value is (0, 0).
Size (Width, Height)The fixed size of the bounding rectangle in pixels. The default value is (720, 1280).

Click the link icon to uniformly scale the width and height. This will maintain the object's proportions while scaling.
Pivot (X, Y)The position of the rotation center. The default value is (0.5, 0.5), which is the center of the 2D object.
  • X: A value closer to 0 shifts the pivot further to the left. A value closer to 1 shifts it further to the right.
  • Y: A value closer to 0 lowers the pivot. A value closer to 1 raises it.
RotationThe object's rotation around the pivot center. The default value is 0.
Scale 2D (X, Y)Stretches the object, distorting its aspect ratio. The default value is (1,1).

Click the link icon to uniformly scale the X and Y axes. This will maintain the object's proportions while scaling.
Reference Pixels Per UnitControls the resolution. The default value is 32 px.