How to draw point when Mousedown event is fired

Hi, everyone.
I made a code that insert point shape and connect between points using line when Mousedown event is fired. But it do not working now.
Could i asked you to have a look my code?



image

Hello @james

If you don’t mind, could you post the text of the code rather than images, since then it is easier for someone to copy and paste it into a test application. This may make it easier to determine a problem.

Thank you.
Jerry.