# createSprite is not defined

**URL:** <https://forum.code.org/t/createsprite-is-not-defined/31967>\
**Category:** Unit and Lesson Discussion\
**Created:** [December 20, 2019, 4:39pm UTC](https://forum.code.org/t/createsprite-is-not-defined/31967 "2019-12-20T16:39:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![infinitestasis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/infinitestasis/32/5047_2.png) [@infinitestasis](https://forum.code.org/u/infinitestasis)\
**Post date:** [December 20, 2019, 8:47pm UTC](https://forum.code.org/t/createsprite-is-not-defined/31967/2 "2019-12-20T20:47:23Z")

</div>

You can create the game on game lab, then use an embed to put it in an `<iframe>`. However there is something called an embed: [https://studio.code.org/gamelab/GAMEID/embed](https://studio.code.org/gamelab/GAMEID/embed)

I think this is a similar question.

> [@Student Question about Running Game Lab code in other coding platforms](https://forum.code.org/t/student-question-about-running-game-lab-code-in-other-coding-platforms/31942):
>
> Hello, I am new to coding and teaching Computer Science Discoveries this year. One of my middle school students asked the following question and I am not sure how to respond. Can you help? See their message below: "I am trying to run my interactive greeting card OUTSIDE of code/org. It is very confusing for many reasons. Am I making code in JAVA or JAVASCRIPT? they are different languages. When I try to run the code somewhere else, it has a series of errors, including: it doesn’t know what ‘…

---

_[View the full topic](https://forum.code.org/t/createsprite-is-not-defined/31967)._
