Hello Blizzard! Somebody from you reading this? Please add functions GetMousePos() and GetMouseX(), GetMouseY() !!! The common.j contain native function for SetMousePos, but there is nothing about getting actual MousePos in the 2D projection, there is only function for getting MousePos in 3D projection in the game source itself, but not in 2D projection as the game window. Hope you understanding what i am actually mean. Please add it! I can’t create my Custom Map without it! 
maybe its getcursorposition()
All functions were known in common.j. I find there only a functions which are:
native BlzGetTriggerPlayerMouseX takes nothing returns real
native BlzGetTriggerPlayerMouseY takes nothing returns real
native BlzGetTriggerPlayerMousePosition takes nothing returns location
but they works not properly, they find a actual location of the cursor in game but not on x,y on the screen.
There also function
native BlzSetMousePos takes integer x, integer y returns nothing
which works as a 2D and uses real pixels on your screen and set cursor it to that (x,y,) and i wish to be there the same function which getting cursor x,y in the same way.
1 Like