playMaker

Author Topic: 'Get mouse button down'  (Read 2279 times)

mt

  • Playmaker Newbie
  • *
  • Posts: 6
'Get mouse button down'
« on: October 06, 2016, 10:55:40 AM »
Hi,

I'm new to play maker and struggling with some thing quite simple.

I have 2 objects each with a 'Get mouse button down' on. Each one should play a different animation.

Unfortunately when u click on one they both activate . I'm not sure why though .. any help appreciated. It works when using a GUI button however I would like to select the .fbx objects themself.

many thanks,
Matt
« Last Edit: October 06, 2016, 12:54:21 PM by mt »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: 'Get mouse button down'
« Reply #1 on: October 06, 2016, 05:18:55 PM »
Hi,
The 'Get mouse button down' works when the mouse button is pressed, anywhere in the scene.

If the fsm is on the object you want to use, then you can 'right click' on a state where you want to use get mouse button on,
Then select Add Transition / System Events / Mouse Down

mt

  • Playmaker Newbie
  • *
  • Posts: 6
Re: 'Get mouse button down'
« Reply #2 on: October 07, 2016, 05:02:09 AM »
thanks! works well