Mouse Position (Screen)


Node Information
Gets cursor position of the current screen.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
X OUT Int32 MULTIPLE FALSE FALSE
Y OUT Int32 MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Win32.Information
{
    [IsNode("Mouse Position")]
    public class GetMousePosition : Node
    {
        Port x = new Port(PortType.OUT, typeof(int), AcceptsLinks.MULTIPLE, "X");
        Port y = new Port(PortType.OUT, typeof(int), AcceptsLinks.MULTIPLE, "Y");
        public GetMousePosition()
        {
            this.Name = "Mouse Position (Screen)";
            AddPort(x);
            AddPort(y);
            x.Instructions = "System.Windows.Forms.Cursor.Position.X";
            y.Instructions = "System.Windows.Forms.Cursor.Position.Y";
            Information = "Gets cursor position of the current screen.";
        }
    }
}