playMaker

Author Topic: get device screen size  (Read 1887 times)

nepomuk

  • Playmaker Newbie
  • *
  • Posts: 32
get device screen size
« on: June 12, 2015, 06:48:25 AM »
hey. i'm looking for an action the returns the screen width and height of a mobile device.
i've tried to use the screen.width action but it seems to return the size set in the game and not the device's hardware.

thanks in advance :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: get device screen size
« Reply #1 on: June 12, 2015, 07:26:29 AM »
Hi,

 what device is it? This is odd, the screen.width should be the hardware width for sure.

 Bye,

 Jean