InputSystem
InputSystem copied to clipboard
Querying pencil position in editor window doesn't work correctly.
When we call Pen.current.position.ReadValue() in Editor Window, it returns relative position from GameView. It should return the position relative to the Editor Window.
The attached is the screenshot of the issue. I pointed the red dot position with a pencil.

The following is a test code. https://oc.unity3d.com/index.php/s/iLj3Gqrd1lFZh8D
Filed: https://issuetracker.unity3d.com/issues/pen-editor-pen-position-is-not-consistent-with-mouse-position-in-custom-editor-window Closing.