# Send game score to calling site

**URL:** https://forum.makecode.com/t/send-game-score-to-calling-site/28192
**Category:** Help
**Created:** [April 11, 2024, 4:45pm UTC](https://forum.makecode.com/t/send-game-score-to-calling-site/28192 "2024-04-11T16:45:26Z")
**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: [April 11, 2024, 6:18pm UTC](https://forum.makecode.com/t/send-game-score-to-calling-site/28192/2 "2024-04-11T18:18:25Z")

</div>

Sending simulator messages (such as when the user wins the game) to the outside of the iframe may be useful here:

> [@Extension to interact with the web in exported games](https://forum.makecode.com/t/extension-to-interact-with-the-web-in-exported-games/4262):
>
> Let’s start with the demo: an exported Arcade game that opens a new browser tab. In general, Arcade games are completely sandboxed… So how can we open a new tab? Let’s take a look. The control.simmessages is a new API added in Arcade to support the JACDAC simulator… but you can use it too in GitHub Pages. simmessages allow to send or receive a data payload to the hosting iframe of the simulator (those messages are ignored on hardware). In [arcade.makecode.com](http://arcade.makecode.com), you are not allowed to inject c…

---

_[View the full topic](https://forum.makecode.com/t/send-game-score-to-calling-site/28192)._
