Click or drag to resize

IGH_ResponsiveObjectRespondToMouseDown Method

This function will be called whenever a mouse button is pressed over the canvas. If you are active, you will be the only object who gets called. If you are inactive, you might get called if nobody on top of you decides to become active.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
GH_ObjectResponse RespondToMouseDown(
	GH_Canvas sender,
	GH_CanvasMouseEvent e
)

Parameters

sender
Type: Grasshopper.GUI.CanvasGH_Canvas
Base canvas.
e
Type: Grasshopper.GUIGH_CanvasMouseEvent
Mouse event arguments.

Return Value

Type: GH_ObjectResponse
All Response flags are valid.
See Also