Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: pustur on April 25, 2013, 06:02:31 PM

Title: [SOLVED]"MOUSE DOWN" but with right click?
Post by: pustur on April 25, 2013, 06:02:31 PM
hello  :)
i know there is an easy way to detect a left click with the MOUSE DOWN event but i wonder if there is a similar way to detect a right click?

this is my little FSM:
(http://i1264.photobucket.com/albums/jj493/pstrnil/example.png:original)

thanks in advance!  ;)
Title: Re: "MOUSE DOWN" but with right click?
Post by: Lane on April 25, 2013, 06:18:05 PM
Choose the other mouse button in the dropdown menu.
Title: Re: "MOUSE DOWN" but with right click?
Post by: pustur on April 26, 2013, 11:19:46 AM
i can't find it anywhere, can you please post a screenshot or describe a bit better where is it?
notice that i'm not using the action "Get Mouse Button Down" but only the "MOUSE DOWN" transition.
Title: Re: "MOUSE DOWN" but with right click?
Post by: Lane on April 26, 2013, 11:55:23 AM
Ha, wow, I didn't even know those System Events could do that... I do not know if you can change the event to detect different buttons or if you can add additional ones.

You can always use the Get Mouse Down/up and the Mouse Pick Event actions.
Title: Re: "MOUSE DOWN" but with right click?
Post by: pustur on April 26, 2013, 06:09:52 PM
ok i fixed it by using the Get Mouse Button Down.

(http://i1264.photobucket.com/albums/jj493/pstrnil/Schermata2013-04-27a000742.png:original)

thanks anyway :)