Get current position of mouse?

Is there a way so that on a client event script, like pressing CNTRL+T, I can print to the console the x and y coordinates of my current mouse position? Using 7.9.9.

https://docs.oracle.com/javase/8/docs/api/java/awt/MouseInfo.html#getPointerInfo--

MouseInfo.getPointerInfo().getLocation(), it looks like.

1 Like

Is there any more context for this? Is it the same on 8.1.39 or later?
Would you use "On mouse click" or a component \ "OnMapclick"?

Ignition v7.9 only has Vision, and it should still work for Vision in v8.1. If you are asking about Perspective, then no, not applicable. (But might have other solutions.)

1 Like