This component provides information about the device a player is using that can be used within a Hype. For example you could adjust your Hype for players playing in portrait or landscape, or change the size of your play area based on the size and dimensions of a player's screen.
Execute | The component is executed by links from other components. |
On Start | With this enabled the component will send it's data to any linked components when the Hype starts |
Enabled | Enable or disable the component. |
Screen Width | Outputs the width of the screen in pixels. |
Screen Height | Outputs the height of the screen in pixels. |
Aspect Ratio | Outputs the aspect ratio of the screen. |
Is Orientation Portrait | Outputs 1 (true) if the screen orientation is Portrait and 0 (false) if the orientation is Landscape. |
Is Orientation Landscape | Outputs 1 (true) if the screen orientation is Portrait and 0 (false) if the orientation is Landscape. |
Is Phone | Outputs 1 (true) if the device is identified as phone, otherwise outputs 0 (false) |
Is Tablet | Outputs 1 (true) if the device is identified as tablet, otherwise outputs 0 (false) |
Is Desktop | Outputs 1 (true) if the device is identified as desktop, otherwise outputs 0 (false) |
Volume Level | Outputs device Volume Level, 0-1. |
Receiving Touch Input | Outputs 1 (true) when Touch Input starts, otherwise outputs 0 (false) |
Receiving Mouse Input | Outputs 1 (true) when Mouse Input starts, otherwise outputs 0 (false) |
Receiving Keyboard Input | Outputs 1 (true) when Keyboard Input starts, otherwise outputs 0 (false) |