EditorPlugin.forwardCanvasDrawOverViewport

This method is called when there is an input event in the 2D viewport, e.g. the user clicks with the mouse in the 2D space (canvas GUI). Keep in mind that for this method to be called you have to first declare the virtual method handles so the editor knows that you want to work with the workspace:

More...
struct EditorPlugin
@nogc nothrow
void
forwardCanvasDrawOverViewport

Detailed Description

func handles(object): return true

Also note that the edited scene must have a root node.

Meta