playMaker

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

C.J.Geringer

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


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Right Clicking GUI button
« Reply #1 on: September 26, 2017, 04: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