0
Отвечен
Position of mouse click
Can someone tell me if and how I can get the X and Y position of a mouse click on an image.
Сервис поддержки клиентов работает на платформе UserEcho
It is possible only if you click on Joystick item. This item has ValueX and ValueY coordinates, so you can calculate the global coordinates as a sum of Item coordinates and cursor coordinates
Thanks for the answer.
I've created a sample project (attached) that logs the ValueX and ValueY of the joystick control on mouse Press.
The "Range type" of the control is set to "Integer", but ValueX and ValueY still contain float values.
I know I can use a round function in JS, but I think this should not be necessary.
Joystick test.irpz