RectangleShape2DDescriptionTutorialsPropertiesProperty DescriptionsRectangleShape2DInherits: Shape2D < Resource < Reference < Object Rectangle shape for 2D collisions. DescriptionRectangle shape for 2D collisions. This shape is useful for modeling box-like 2D objects. Tutorials 2D Pong Demo2D Kinematic Character DemoPropertiesProperty DescriptionsVector2 extents The rectangle’s half extents. The width and height of this shape is twice the half extents.