playMaker

Author Topic: Get Mouse X, Get Mouse Y how to scale to screen transform?  (Read 989 times)

Insanity82

  • Playmaker Newbie
  • *
  • Posts: 1
Get Mouse X, Get Mouse Y how to scale to screen transform?
« on: December 18, 2017, 05:13:20 AM »
When using Get Mouse X and Get Mouse Y (normalized) I get screen coordinates between 0 and 1, but my transform settings don't match this.

In my transform settings the bounds of my screen are between position -9.5 and 9.5 on the X axis and and between -16.5 and 16.5 on the Y axis.

How do I convert one to the other?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Get Mouse X, Get Mouse Y how to scale to screen transform?
« Reply #1 on: December 18, 2017, 05:17:40 AM »
Hi.
I believe that there is an action called "get mouse position" on the Ecosystem
Maybe that one is better to use.

I can't confirm as i am not on my computer atm.