# Device detection

**URL:** <https://forum.makecode.com/t/device-detection/3973>\
**Category:** Game Design\
**Created:** [October 19, 2020, 10:26pm UTC](https://forum.makecode.com/t/device-detection/3973 "2020-10-19T22:26:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)\
**Post date:** [October 19, 2020, 10:26pm UTC](https://forum.makecode.com/t/device-detection/3973/1 "2020-10-19T22:26:15Z")

</div>

Is there any way to detect the type of device the game is playing on? In particular I’m interested in knowing whether the game plays within a browser on a computer or mobile phone. Playing my Frogger game is almost impossible on the mobile phone, so I might want to allow to allowances for that.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 20, 2020, 4:51pm UTC](https://forum.makecode.com/t/device-detection/3973/2 "2020-10-20T16:51:19Z")

</div>

Nope, we don’t give any information about screen size/form factor
