/// <summary> /// Handles a probe signal change over the node. /// </summary> /// <param name="Offset">The offset of the probe from the top-left corner of the node.</param> public void ProbeSignalChange(World World, Probe Probe, Point Offset, ProbeSignal Signal, bool Value) { // See if the event can be handled by the content of the node if (this._InputContext.ProbeSignalChange(Probe, Signal, Value)) return; // Start dragging if possible if (this._DragState == null && Signal == ProbeSignal.Primary && Value == true) { this._DragState = new DragState { Offset = Offset, Probe = Probe, ReleaseProbe = Probe.Lock() }; } }