I took a look at Leena's Add-on pockets macro.  It asks the 
user place the pocket by clicking on the screen.  Can this be done in 
MacroGen?  The answer is yes, using a code point with prompt_point(), 
getresultx() and getresulty().  Here is the code:
prompt_point("Point place of pocket");
@Point[Prompt].X = getresultx();
@Point[Prompt].Y = getresulty();
prompt_point() asks the user for a point.  getresultx() and getresult() 
returns the value of the point.  In MacroGen both these functions will 
return 0.
Here is an example project that draws a square that is placed by prompt point.  PromptPoint.mg4 (5.5 KB)