Getting Window's Position

edited January 2017 in How To...

Another quick question: How do I get the current sketch window's X and Y position? I searched through the forums and tried frame.getX() and frame.getLocationOnScreen().x, but they do not seem to work. frame.getX always return 0, even when it is obviously not. Thanks!

Sign In or Register to comment.