/// <summary> /// Activates if a selected node was clicked and if /// there are currently nodes selected /// </summary> /// <returns></returns> protected override bool ShouldActivate() { return(NodeEditor.GetSelectedNodesCount() > 0 && wasMouseDownInSelectedNode); }