playMaker

Author Topic: Right Clicking GUI button  (Read 112 times)

C.J.Geringer

  • Playmaker Newbie
  • *
  • Posts: 43
    • View Profile
Right Clicking GUI button
« on: September 24, 2017, 04:26:16 AM »
Would it be possible to add a "UGUI /ON RIGHT CLICK" event for Ugui buttons?


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Right Clicking GUI button
« Reply #1 on: September 26, 2017, 01:22:13 AM »
Hi,

 Use the LastPointerEventData and check the inputButton property, it will tell you if it's a right click or not.

 But I agree adding a direct call would be great and quicker.

 Bye,

 Jean