playMaker

Author Topic: Mouse Position Setting Animation Bool  (Read 916 times)

Cerb

  • Playmaker Newbie
  • *
  • Posts: 3
Mouse Position Setting Animation Bool
« on: October 20, 2019, 11:39:10 AM »
Hey guys,

I'm a Playmaker Noob and wouldn't mind some help. Basically I have a animator that needs to know if the mouse is on the left or right side of the screen to simulate what the sprite is looking at.

Currently I'm using Get Mouse X to create a Float then using Compare float to send to a Set Animator Bool. Unfortunately it does it only once and I can't for the life of me figure out why its not looping. I'm also not convinced this is the best method to do it but I'm not sure what would be.

Any help would be greatly appreicated!

Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Mouse Position Setting Animation Bool
« Reply #1 on: October 21, 2019, 12:43:24 PM »
Hi,
You could use a 'Next Frame Event' and loop back to the Get Mouse X action/state