Thanks for your response Chris, the demo attached seems to be much more advanced than I'm looking for
I'm looking to have the user click on a button, that will draw a line or rectangle with at a certain location, is there no simpler function/solution?