lua simulation api functions for drawing with tools / deco 027649e85894