playMaker

Author Topic: How to listen for system event  (Read 1727 times)

kavery

  • Full Member
  • ***
  • Posts: 149
How to listen for system event
« on: May 18, 2018, 02:29:52 PM »
How do you listen for 'system events'? For example when an android build pauses.

"you need to listen to the system event "APPLICATION FOCUS" and or "APPLICATION PAUSE"

Thanks

Kathar

  • Playmaker Newbie
  • *
  • Posts: 48
Re: How to listen for system event
« Reply #1 on: May 19, 2018, 06:09:12 PM »
So say you want a State to be 'triggered' when a certain event happens like APPLICATION FOCUS. Just right-click on the State you want to be 'activated', click "Add Global Transition > System Events > APPLICATION FOCUS" etc. Whole bunch of useful events in there.