Author Topic: Mouse Move action based on percentage instead of pixels  (Read 2516 times)

JGFarris

  • Newbie
  • *
  • Posts: 49
    • My Facebook Page
Mouse Move action based on percentage instead of pixels
« on: January 09, 2022, 08:01:49 AM »
Okay, here's something I think would be very very useful.

On all my mouse move actions, I have to determine the X/Y pixel location based on the resolution the game is running in. If a game is running at a different resolution, the X/Y locations are totally different.

WHAT IF the mouse position could be assigned as a PERCENTAGE from top/left (or other corners)! This way the same mouse move actions could be applied no matter what resolution the game is running in. 50% X value and 20% Y value would be the same location whether the screen is 3840x2160, 2560x1440, or 1920x1080.

I'm trying to make my profile distributable and I'm having to determine the desktop resolution before I do each mouse move action. I know I can do some math and assign positions with tokens, but having this built-in would be WONDERFUL!
Jerry Farris, Jr.
Entrepreneur, Programmer and Disability Advocate
jerry@jerryfarris.com