glyphsTool plugin mousedown action

Im trying to write a quick tool plugin and have hit a stumbling block; any pointers would be great!

At the moment, I have a tool that draws a shape in the background behind the GSNode nearest the cursor. What I’d ideally like to do next is to prevent the normal selecting of nodes on mousedown when this tool is active, but instead call a function with the aforesaid GSNode as a parameter. Is this even possible, and where would I look to get this implemented? I’ve looked through the wrapper and other plugins. but am a bit lost at this point. Thanks!

Never mind - Georg’s Pixel tool led me in the right direction.

1 Like