I noticed that I have to take the system’s scaling setting into account if I want to use SetCursorPosition
. I found that when passing Bounds
from the scene window, at 100% scale, I need to simply divide the pixel value by 100, and at 200% scale, I have to divide it by 200 — only then does the scaling match correctly.
Maybe I’m missing something, and there is a solution?