playMaker

Author Topic: need help getting Get Pixel Color to work.  (Read 1419 times)

adamcrockett

  • Playmaker Newbie
  • *
  • Posts: 8
need help getting Get Pixel Color to work.
« on: July 04, 2016, 03:29:49 PM »
I'm having trouble getting any variables to change via "get pixel color" . What am I doing wrong? Here's a youtube screencast explaining the problem.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: need help getting Get Pixel Color to work.
« Reply #1 on: July 18, 2016, 09:38:02 AM »
Hi,

 get Pixel color works with x and y being local coordinate of your texture, it has nothing to do with where it is on screen basically, I think this is where you are getting confused.

So do a raycast from your mouse position, and then use another custom action ( on the Ecosystem, called GetRaycastHitInfoExtras

Have a go, and let me know if you still struggle with it, I'll do a working sample.

 Bye,

 Jean