# Check whether we are on hardware or simulator?

**URL:** <https://forum.makecode.com/t/check-whether-we-are-on-hardware-or-simulator/5597>\
**Category:** Help\
**Created:** [January 17, 2021, 3:46am UTC](https://forum.makecode.com/t/check-whether-we-are-on-hardware-or-simulator/5597 "2021-01-17T03:46:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [June 3, 2021, 4:13pm UTC](https://forum.makecode.com/t/check-whether-we-are-on-hardware-or-simulator/5597/2 "2021-06-03T16:13:14Z")

</div>

Finally remembered to answer this thread 😅

[Here (paraphrased)](https://forum.makecode.com/t/multiplayer-with-hardware-and-blocks/1171/8)

> [@Multiplayer with hardware and blocks?](https://forum.makecode.com/t/multiplayer-with-hardware-and-blocks/1171/8):
>
> …`control.deviceDalVersion()` should return string `sim`. It will be `linux` on the Raspberry Pi and a semantic version otherwise…

---

_[View the full topic](https://forum.makecode.com/t/check-whether-we-are-on-hardware-or-simulator/5597)._
