## Welcome!

You are just one step away from creating awesome games!

You need a Google account to use Defold

# GUI pie nodes

Pie nodes can be used to create circular or ellipsoid objects. In its simplest form, a pie node is simply a circle or ellipse inscribed in the node bounding box. If the width and height are identical, the circle’s diameter will be that value. If the width and height differ, the node will instead be an ellipse with the node width being the horizontal extent of the ellipse and the height being the vertical extent. The texture set for the node is applied straight, with the corners of the texture correlating to the corners of the node bounding box.

Pie nodes have a set of properties that make it possible to use them to create a wide range of shapes. All of these properties can be changed programmatically (see GUI API documentation for details) and some can be animated.

Extend the node to the outer radius (Ellipse) or to the node’s bounding box (Rectangle).
With the Outer bounds option set to Rectangle the shape extends to the node bounding box. Together with an Inner radius and/or a Pie fill angle, complex shapes can be created.