Inserting Block on drawing using macro

I am trying to insert a block on my drawing by a mouse click on the screen. My last program had a "getpos" command to retrieve the x y position on the drawing sheet to position the block. What is the best way to handle this in a solideworks macro?

SolidworksApi macros