playMaker

Author Topic: Make UI Button stay "Highlighted" when pressing another button.  (Read 639 times)

elusiven

  • Full Member
  • ***
  • Posts: 233
  • Debt we all must pay...
    • View Profile
Hi, just like in the title..

Is there any way to control this manually? I'm doing one of the functions in my app and It's a multiple answer quiz, so I need to have multiple buttons "Highlighted" at the same time.

I know I can swap sprites to get around this but I would not rather do that.

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14493
  • Official Playmaker Support
    • View Profile
Re: Make UI Button stay "Highlighted" when pressing another button.
« Reply #1 on: February 20, 2018, 12:21:38 AM »
Hi,

 not sure there is a way. I usually resort to manually handle these kind of UI, and it gives me more control in the end.

 Else, I would use a toggle instead of a button, then you can definitely control the active state better. you can tweak the look of a toggle to be exactly like a button.

 Bye,

 Jean