As you draw, WebCode generates the drawing code on-the-fly. There are, however, a few settings that affect the code generation.
The target setting only affects the generated code, your drawing stays the same.
The second most important code setting is the drawing origin. The position of the (0, 0) point may vary, depending on where you move the drawing origin. By default, the drawing origin is positioned in the upper left corner of the canvas.
You can extract an attribute by clicking on the extraction button, where available: