Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: kavery on May 18, 2018, 02:29:52 PM

Title: How to listen for system event
Post by: kavery 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
Title: Re: How to listen for system event
Post by: Kathar 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.