I want to create random shapes, but I don't know how. How to create shapes in a starling. I mean rectangles and arbitrary lines. Later I want to push them into the array to work with them.
Canvas allows you to draw basic vector shapes.
also this extension works for this job: