concept

Rect Transform

Rect Transform is a Unity component that defines the position, size, anchor, and pivot of UI elements in a 2D coordinate system. It replaces the standard Transform component for UI objects, providing specialized controls for layout and scaling within Canvas elements. This component is essential for creating responsive and dynamic user interfaces in Unity games and applications.

Also known as: UI Transform, Rectangle Transform, RectTransform, Unity UI Transform, Canvas Transform
🧊Why learn Rect Transform?

Developers should learn Rect Transform when building UI systems in Unity, as it is required for all UI elements like buttons, text, and images to function correctly within a Canvas. It is crucial for implementing responsive designs that adapt to different screen resolutions and aspect ratios, using features like anchors and pivots to control positioning relative to parent elements. Mastery of Rect Transform is key for creating polished, professional-looking interfaces in Unity projects.

Compare Rect Transform

Learning Resources

Related Tools

Alternatives to Rect Transform