OUT #include OUT #include double yd=0; double id(double a){return a;} EVENT(create){ x=10; y=240; log("Control object wow!"); instance_create(20,20); } EVENT(step){ // static double yd=0; x++; y+=yd; yd+=(double)rand()/RAND_MAX*2-y/240; } EVENT(draw){ char *s; asprintf(&s,"controllll: x=%g y=%g",id(x),id(y)); draw_text(x,y,s); free(s); }