Patches

Device Info

Device Info

Access information about the simluated or connected phone, tablet or computer.

Device Info

  • Connected
  • Screen Size
  • Screen Scale
  • Is iPad
  • Is Portrait
  • Uses a Mouse

Connected

A boolean that is true when a phone or tablet is connected.

Screen Size

The size of the screen. Use Size Unpack to get the individual width and height.

Screen Scale

A number that represents the density of screen pixels per device-independent pixel (ex: iPhone has 2 pixels per point)

Is iPad

A boolean that is true when the device is an iPad.

Is Portrait

A boolean that is true when the device is in portrait orientation.

Uses a Mouse

A boolean that is true when the device accepts mouse interactions (as opposed to touch).