An odd new issue. The coordinates I’m getting from action.x and action.y are offset by half a pixel. +0.5 X and -0.5 Y.
Defold 1.2.183, Linux Mint 20.1 Ulyssa.
Reported on github: action.x and action.y are offset by half a pixel. · Issue #5925 · defold/defold · GitHub
Can someone else test this project to see if they get the same results? (without resizing the window of course.)
mouse-pos-test.zip (2.7 KB)
“gui pos” is action.x, action.y, “screen pos” is action.screen_x, action.screen_y.