How to make a drag and drop code generator?

Internal error.

Oops! Looks like something went wrong!