playMaker

Author Topic: Get Device Orientation Action?  (Read 2800 times)

Groo Gadgets

  • Beta Group
  • Full Member
  • *
  • Posts: 175
Get Device Orientation Action?
« on: June 24, 2015, 05:23:11 AM »
Hey all,

Just wondering if an action exists to get the current device orientation?

I'm using the Device Orientation Event action when my orientation changes however I would like to check what the device orientation is when I initialize my game.

Any help would be great  :-)

Cheers,

Simon

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Device Orientation Action?
« Reply #1 on: June 24, 2015, 08:13:50 AM »
Hi,

 there is an action called Device Orientation Watcher on the Ecosystem.

This should do the job.

 Bye,

 Jean

Groo Gadgets

  • Beta Group
  • Full Member
  • *
  • Posts: 175
Re: Get Device Orientation Action?
« Reply #2 on: June 24, 2015, 05:06:38 PM »
Thanks Jean, i'll give it a try right now!

Simon