hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
14 lines (8 loc) • 414 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [client](./client.md) > [HytopiaUI](./client.hytopiaui.md) > [isMobile](./client.hytopiaui.ismobile.md)
## HytopiaUI.isMobile property
Detects if the player is on a mobile device. Use this to adjust UI layout or controls, etc.
**Signature:**
```typescript
get isMobile(): boolean;
```