# Vision Component's Absolute Position?

**URL:** <https://forum.inductiveautomation.com/t/vision-components-absolute-position/42135>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 11, 2021, 10:10pm UTC](https://forum.inductiveautomation.com/t/vision-components-absolute-position/42135 "2021-01-11T22:10:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roy.dye](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@roy.dye](https://forum.inductiveautomation.com/u/roy.dye)\
**Post date:** [January 11, 2021, 10:10pm UTC](https://forum.inductiveautomation.com/t/vision-components-absolute-position/42135/1 "2021-01-11T22:10:06Z")

</div>

I am evaluating the effort to create an automated testing framework for our Vision applications.

The Java Robot API seems to be a good fit for simulating mouse clicks and keyboard input. However, its mouse positioning is based on absolute positioning within the screen.

For simplicity, if we wanted to simulate a click on a button on an Ignition screen (by specifying a window and object name), I assume that we would need to determine the absolute position from the relative position of the button within the window and add the relative position of the window to the screen.

1. Are there window and object methods/functions that would simplify this calculation?

2. Also, is there a list of available object properties/methods for screen objects? I accidentally found the object’s getX, Y, Width and Height methods, but would like to know what else is available.

Thanks in advance,  
Roy

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 11, 2021, 10:14pm UTC](https://forum.inductiveautomation.com/t/vision-components-absolute-position/42135/2 "2021-01-11T22:14:11Z")

</div>

The javadoc has all the properties and methods:  
[http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/index.html](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/index.html)

[https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.1/index.html](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.1/index.html)  
The version 8 one doesn’t have the same frames as the 7 version… not sure if there’s a page that displays them in 8 like that. The v7 one is certainly easier to navigate
