Skip to content

MoveCursor should affect CursorPosition immediately #16

Description

@BoilingTeapot

The following code behaves incorrectly in N#:

MoveCursor(100, 100);
Wait(100);
MoveCursor(200, 200);
CursorPosition($x, $y); // returns (100, 100) in N# and (200, 200) in N2

MoveCursor changes cursor position by calling _ctx.Window.SetMousePosition, but CursorPosition reads _ctx.InputContext.MousePosition, which is only updated once per frame.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions