How to track drawing nodes VBA

I need your help in macros creation which will include two things:

1. PEN appears to be an active instrument in case of actuation

2. This instrument follows up my actions and in case I enter an 3 nodes some action activates. (and I need to get coordinates of nodes)

Sorry for my english