# PXT

**URL:** https://forum.makecode.com/c/custom-makecode-editors/8.md

[Latest](https://forum.makecode.com/latest.md) · [Categories](https://forum.makecode.com/categories.md) · [Tags](https://forum.makecode.com/tags.md)

---

## [About the PXT category](https://forum.makecode.com/t/about-the-pxt-category/720)

<div class="topic-metadata">

**Author:** [@peli](https://forum.makecode.com/u/peli)\
**Replies:** 0

</div>

Discussions about using PXT to build custom MakeCode editor.

---

## [Translations](https://forum.makecode.com/t/translations/44001)

<div class="topic-metadata">

**Author:** [@THEb0nny](https://forum.makecode.com/u/THEb0nny)\
**Replies:** 9\
**Last updated:** [June 5, 2026, 5:15pm UTC](https://forum.makecode.com/t/translations/44001 "2026-06-05T17:15:34Z")

</div>

Can the current pxt-core and pxt-ev3 string resources be forked into crowdin to be added to pxt-ev3-community? @richard

---

## [Compile ts script](https://forum.makecode.com/t/compile-ts-script/44013)

<div class="topic-metadata">

**Author:** [@THEb0nny](https://forum.makecode.com/u/THEb0nny)\
**Replies:** 1\
**Last updated:** [May 16, 2026, 4:09am UTC](https://forum.makecode.com/t/compile-ts-script/44013 "2026-05-16T04:09:32Z")

</div>

How to compile the ts script that is in the pxt-ev3 project? I want more than just elf and rtf files to be displayed. I rewrote the file, but I don’t know how to compile it.

---

## [How to add custom functions to toolbox arrays](https://forum.makecode.com/t/how-to-add-custom-functions-to-toolbox-arrays/43939)

<div class="topic-metadata">

**Author:** [@THEb0nny](https://forum.makecode.com/u/THEb0nny)\
**Replies:** 2\
**Last updated:** [May 12, 2026, 5:37pm UTC](https://forum.makecode.com/t/how-to-add-custom-functions-to-toolbox-arrays/43939 "2026-05-12T17:37:46Z")

</div>

How can I add my functions to the arrays namespace? I created functions in an extension and placed them in the arrays namespace. But they don’t show up in the toolbox’s arrays section. I tried placing them in subcategor…

---

## [Idea for Split Screen](https://forum.makecode.com/t/idea-for-split-screen/43680)

<div class="topic-metadata">

**Author:** [@BuiltLord](https://forum.makecode.com/u/BuiltLord)\
**Replies:** 4\
**Last updated:** [May 11, 2026, 2:53pm UTC](https://forum.makecode.com/t/idea-for-split-screen/43680 "2026-05-11T14:53:02Z")

</div>

Hi, @richard. I’ve been coding a game using your split screen feature, and I love it. It makes the idea for my game a lot more feasible. But I couldn’t help but notice that there’s no way to remove a camera in use from t…

---

## [Group strings in toolbox not applied during translation](https://forum.makecode.com/t/group-strings-in-toolbox-not-applied-during-translation/43835)

<div class="topic-metadata">

**Author:** [@THEb0nny](https://forum.makecode.com/u/THEb0nny)\
**Replies:** 5\
**Last updated:** [May 6, 2026, 9:34pm UTC](https://forum.makecode.com/t/group-strings-in-toolbox-not-applied-during-translation/43835 "2026-05-06T21:34:12Z")

</div>

The group strings in the toolbox aren’t applied during translation. Why? I checked, they’re in the files. They’re designated as category and group. But for some reason, they’re not applied when building the static versio…

---

## [Problem with using "lists\_create\_with" shadow block](https://forum.makecode.com/t/problem-with-using-lists-create-with-shadow-block/34747)

<div class="topic-metadata">

**Author:** [@tschanni](https://forum.makecode.com/u/tschanni)\
**Replies:** 1\
**Last updated:** [August 10, 2025, 8:35pm UTC](https://forum.makecode.com/t/problem-with-using-lists-create-with-shadow-block/34747 "2025-08-10T20:35:51Z")

</div>

Hi everyone, In our custom PXT project, we had been using PXT version 6.1.19 for a long time. A few weeks ago, we updated to version 11.3.12. One of our blocks requires a custom array, which relies on the “lists\_create…

---

## [Understanding the Compilation and Linking Process in PXT-Microbit MakeCode: From Blocks to Hex File](https://forum.makecode.com/t/understanding-the-compilation-and-linking-process-in-pxt-microbit-makecode-from-blocks-to-hex-file/31682)

<div class="topic-metadata">

**Author:** [@Monarch\_Gohil](https://forum.makecode.com/u/Monarch_Gohil)\
**Replies:** 24\
**Last updated:** [May 27, 2025, 11:50am UTC](https://forum.makecode.com/t/understanding-the-compilation-and-linking-process-in-pxt-microbit-makecode-from-blocks-to-hex-file/31682 "2025-05-27T11:50:42Z")

</div>

Hi everyone, I’m new to the PXT-Microbit MakeCode project and would greatly appreciate your help in understanding the compilation and linking process for a project created using blocks on the local MakeCode server. Spe…

---

## [Clarification on Build Process and Firmware Generation in PXT MakeCode](https://forum.makecode.com/t/clarification-on-build-process-and-firmware-generation-in-pxt-makecode/36525)

<div class="topic-metadata">

**Author:** [@Jake\_Peralta](https://forum.makecode.com/u/Jake_Peralta)\
**Replies:** 0\
**Last updated:** [May 9, 2025, 5:53pm UTC](https://forum.makecode.com/t/clarification-on-build-process-and-firmware-generation-in-pxt-makecode/36525 "2025-05-09T17:53:39Z")

</div>

Hello, While exploring the PXT MakeCode codebase in depth, I observed a few behaviors that I would like to clarify: I attempted to build the pxt folder using sudo npm run build with my internet connection turned off. D…

---

## [Error trying to run local pxt server](https://forum.makecode.com/t/error-trying-to-run-local-pxt-server/20638)

<div class="topic-metadata">

**Author:** [@saskia](https://forum.makecode.com/u/saskia)\
**Replies:** 10\
**Last updated:** [April 23, 2025, 6:53pm UTC](https://forum.makecode.com/t/error-trying-to-run-local-pxt-server/20638 "2025-04-23T18:53:24Z")

</div>

Hey, I am trying to run a local version of makecode as described in the tutorial (https://github.com/microsoft/pxt-maker). I cloned the three mentioned gits, ran npm and build as in the tutorial and finished the setup. …

---

## [A real operatin system](https://forum.makecode.com/t/a-real-operatin-system/33961)

<div class="topic-metadata">

**Author:** [@Renderthegreat](https://forum.makecode.com/u/Renderthegreat)\
**Replies:** 8\
**Last updated:** [April 7, 2025, 2:01am UTC](https://forum.makecode.com/t/a-real-operatin-system/33961 "2025-04-07T02:01:45Z")

</div>

I’ve seen a lot of so-called “operating systems” on this forum—many of them are cool, but they often lack the core functionality that truly makes an OS. That’s why I’ve been working on SOUP-OS (Version Blueberry)—a light…

---

## [Execution of arbitrary classes?](https://forum.makecode.com/t/execution-of-arbitrary-classes/33976)

<div class="topic-metadata">

**Author:** [@Renderthegreat](https://forum.makecode.com/u/Renderthegreat)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 6:01pm UTC](https://forum.makecode.com/t/execution-of-arbitrary-classes/33976 "2025-02-19T18:01:56Z")

</div>

So, I need to load a some string from memory into RAM, and execute it as a class. Here’s a code example: function runClassFromMachineCode(...args) { // Run the machine code, If it segfaults, return 1. }; const machin…

---

## [Makecode serve with nginx](https://forum.makecode.com/t/makecode-serve-with-nginx/33505)

<div class="topic-metadata">

**Author:** [@nevergone](https://forum.makecode.com/u/nevergone)\
**Replies:** 0\
**Last updated:** [January 31, 2025, 3:29am UTC](https://forum.makecode.com/t/makecode-serve-with-nginx/33505 "2025-01-31T03:29:29Z")

</div>

I created a custom makecode image, build (pxt staticpkg) and serve with nginx This is my nginx configuration: server { listen 80; listen \[::\]:80; server\_name localhost; root /usr/share/nginx/h…

---

## [Is it possible to use the PXT Arcade platform to write blocks or Typescript code that transpiles to C#?](https://forum.makecode.com/t/is-it-possible-to-use-the-pxt-arcade-platform-to-write-blocks-or-typescript-code-that-transpiles-to-c/32439)

<div class="topic-metadata">

**Author:** [@MattTheStarfish](https://forum.makecode.com/u/MattTheStarfish)\
**Replies:** 0\
**Last updated:** [December 13, 2024, 1:08am UTC](https://forum.makecode.com/t/is-it-possible-to-use-the-pxt-arcade-platform-to-write-blocks-or-typescript-code-that-transpiles-to-c/32439 "2024-12-13T01:08:07Z")

</div>

I’m currently working on a game in Unity based around stories. It’s still early in development so I won’t go into details, but a big part of it is reliant on users being able to submit their own stories, including writte…

---

## [Codal-microbit-v2: How to instantiate & use a second serial?](https://forum.makecode.com/t/codal-microbit-v2-how-to-instantiate-use-a-second-serial/32332)

<div class="topic-metadata">

**Author:** [@muz](https://forum.makecode.com/u/muz)\
**Replies:** 2\
**Last updated:** [December 9, 2024, 7:16pm UTC](https://forum.makecode.com/t/codal-microbit-v2-how-to-instantiate-use-a-second-serial/32332 "2024-12-09T19:16:01Z")

</div>

Hi! I am planning to create an extension targetting Micro:bit v2 which would require a second serial interface. As a quick test I had a simple C++ program built against codal-microbit-v2 as following: #include “MicroB…

---

## [Npm installing pxt/target stucks](https://forum.makecode.com/t/npm-installing-pxt-target-stucks/32334)

<div class="topic-metadata">

**Author:** [@muz](https://forum.makecode.com/u/muz)\
**Replies:** 1\
**Last updated:** [December 9, 2024, 3:01pm UTC](https://forum.makecode.com/t/npm-installing-pxt-target-stucks/32334 "2024-12-09T15:01:21Z")

</div>

Hello my friends, I got stucked at the very first step to setup a local PXT dev env. With https://github.com/carlosperate/pxt-banana, a pxt target microbit command hangs for ever and I have to press Ctrl-C to abort it: …

---

## [Creating a MakeCode editor in a Vue web app](https://forum.makecode.com/t/creating-a-makecode-editor-in-a-vue-web-app/32134)

<div class="topic-metadata">

**Author:** [@hyperjerk](https://forum.makecode.com/u/hyperjerk)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 8:48pm UTC](https://forum.makecode.com/t/creating-a-makecode-editor-in-a-vue-web-app/32134 "2024-12-02T20:48:29Z")

</div>

Hello, I’m doing some R&D for an education computing platform which will run from a Vue js website and we want to include block programming and micro:bit programming into the tool set. Is it possible to embed MakeCode …

---

## [Create custom website for custom ESP32 board](https://forum.makecode.com/t/create-custom-website-for-custom-esp32-board/31366)

<div class="topic-metadata">

**Author:** [@Tesax123](https://forum.makecode.com/u/Tesax123)\
**Replies:** 0\
**Last updated:** [October 26, 2024, 9:00pm UTC](https://forum.makecode.com/t/create-custom-website-for-custom-esp32-board/31366 "2024-10-26T21:00:43Z")

</div>

Hello everyone, I want to have a nice MakeCode editor for my custom board, based on ESP32S3. I don’t know if this is possible (anymore), since I saw that the “Maker” things seem abandoned. Is it still feasible to do t…

---

## [UF2 file data](https://forum.makecode.com/t/uf2-file-data/30827)

<div class="topic-metadata">

**Author:** [@Tsunami014](https://forum.makecode.com/u/Tsunami014)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 1:53am UTC](https://forum.makecode.com/t/uf2-file-data/30827 "2024-09-25T01:53:06Z")

</div>

I am interested in the uf2 file format outputted from arcade.makecode; I have read everything I can about the uf2 file that I have avaliable and it looks like the uf2 files are just containers for containing binary data…

---

## [Help Needed with Custom MakeCode Editor Using PXT](https://forum.makecode.com/t/help-needed-with-custom-makecode-editor-using-pxt/29865)

<div class="topic-metadata">

**Author:** [@rosshaden](https://forum.makecode.com/u/rosshaden)\
**Replies:** 0\
**Last updated:** [July 28, 2024, 4:11am UTC](https://forum.makecode.com/t/help-needed-with-custom-makecode-editor-using-pxt/29865 "2024-07-28T04:11:08Z")

</div>

Hello, I am currently working on building a custom MakeCode editor using PXT and I am getting some issues/errors that I could use help with. I am facing challenges with “custom blocks not appearing correctly in the ed…

---

## [Build error on a fresh Ubuntu 24.04](https://forum.makecode.com/t/build-error-on-a-fresh-ubuntu-24-04/29775)

<div class="topic-metadata">

**Author:** [@ggsato](https://forum.makecode.com/u/ggsato)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 5:30am UTC](https://forum.makecode.com/t/build-error-on-a-fresh-ubuntu-24-04/29775 "2024-07-25T05:30:33Z")

</div>

Hello, I am preparing a MakeCode and its variants locally on my Ubuntu 24.04 box in Japanese for my kids and their friends. I have just followed the Build instruction, but failed as follows. ~/projects/pxt$ node --ver…

---

## [microbit makecode simulator ](https://forum.makecode.com/t/microbit-makecode-simulator/29814)

<div class="topic-metadata">

**Author:** [@Sham](https://forum.makecode.com/u/Sham)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 5:47pm UTC](https://forum.makecode.com/t/microbit-makecode-simulator/29814 "2024-07-24T17:47:37Z")

</div>

I’ve written a code where I control some functionality at the pin0, continuously toggling pin0 on and off, which causes it to flash rapidly. This behavior is due to a custom block I’ve created, and I cannot alter the fun…

---

## [Moving to a new line for a custom block](https://forum.makecode.com/t/moving-to-a-new-line-for-a-custom-block/28588)

<div class="topic-metadata">

**Author:** [@THEb0nny](https://forum.makecode.com/u/THEb0nny)\
**Replies:** 0\
**Last updated:** [May 5, 2024, 3:41am UTC](https://forum.makecode.com/t/moving-to-a-new-line-for-a-custom-block/28588 "2024-05-05T03:41:41Z")

</div>

Is it possible to make a block with a bunch of parameters, in which, for example, there will be 2 parameters on one line, 3 on the second, and 2 on the last, or something else. I tried it in playground and it turns out …

---

## [What to do when using a esp32s3 for a custom bord?](https://forum.makecode.com/t/what-to-do-when-using-a-esp32s3-for-a-custom-bord/20960)

<div class="topic-metadata">

**Author:** [@saskia](https://forum.makecode.com/u/saskia)\
**Replies:** 2\
**Last updated:** [April 22, 2024, 11:16pm UTC](https://forum.makecode.com/t/what-to-do-when-using-a-esp32s3-for-a-custom-bord/20960 "2024-04-22T23:16:36Z")

</div>

Hey, I am trying to add a new costum board to the editor while using a eps32-s3. Therefore I tried to copy the existing pxt-maker lib ‘espressif-esp32-devkit-c’ and there I need to update the pxt.json file. In this pxt.j…

---

## [How to use require in pxt-sample](https://forum.makecode.com/t/how-to-use-require-in-pxt-sample/27774)

<div class="topic-metadata">

**Author:** [@lydsera](https://forum.makecode.com/u/lydsera)\
**Replies:** 1\
**Last updated:** [March 28, 2024, 3:46am UTC](https://forum.makecode.com/t/how-to-use-require-in-pxt-sample/27774 "2024-03-28T03:46:54Z")

</div>

when I use require() to import a package, it reports error ‘can not find require’. If I use ‘import’ to import directly, it will make more error

---

## [Lighting up the share button - own server](https://forum.makecode.com/t/lighting-up-the-share-button-own-server/4197)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 5\
**Last updated:** [February 29, 2024, 6:32pm UTC](https://forum.makecode.com/t/lighting-up-the-share-button-own-server/4197 "2024-02-29T18:32:27Z")

</div>

I have been following these instructions and have gotten pretty far - I can get makecode to write to my server. The next bit that’s a little bit fuzzy is loading the URL back - it looks like I need to serve HTML but I a…

---

## [Website games](https://forum.makecode.com/t/website-games/26680)

<div class="topic-metadata">

**Author:** [@TruestLegend](https://forum.makecode.com/u/TruestLegend)\
**Replies:** 4\
**Last updated:** [February 20, 2024, 7:17pm UTC](https://forum.makecode.com/t/website-games/26680 "2024-02-20T19:17:17Z")

</div>

I have a very cool idea, what if there was a version of makecode where you can make games for a website? It would be similar to makecode arcade, but with more colors, 3d functions based on the raycasting exstension and k…

---

## [Sharing Markdown Documentation](https://forum.makecode.com/t/sharing-markdown-documentation/24594)

<div class="topic-metadata">

**Author:** [@GrandpaBond](https://forum.makecode.com/u/GrandpaBond)\
**Replies:** 2\
**Last updated:** [November 28, 2023, 11:59pm UTC](https://forum.makecode.com/t/sharing-markdown-documentation/24594 "2023-11-28T23:59:36Z")

</div>

Is there a way to share as an HTML a fully-rendered README.md for a fledgling extension?

---

## [//% shim=ENUM\_GET : Enums members coded in JavaScript view are not displayed as selected in block view](https://forum.makecode.com/t/shim-enum-get-enums-members-coded-in-javascript-view-are-not-displayed-as-selected-in-block-view/21734)

<div class="topic-metadata">

**Author:** [@jp-96](https://forum.makecode.com/u/jp-96)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 4:48pm UTC](https://forum.makecode.com/t/shim-enum-get-enums-members-coded-in-javascript-view-are-not-displayed-as-selected-in-block-view/21734 "2023-08-30T16:48:05Z")

</div>

Creating enumerations with blocks https://makecode.com/defining-blocks#creating-enumerations-with-blocks Playground example : Create Enums from Blocks Sample: Creating Enum Editor: micro:bit On Blocks editor Place t…

---

## [Math.pow floating point issues](https://forum.makecode.com/t/math-pow-floating-point-issues/6305)

<div class="topic-metadata">

**Author:** [@joshkeys19](https://forum.makecode.com/u/joshkeys19)\
**Replies:** 3\
**Last updated:** [August 2, 2023, 9:14pm UTC](https://forum.makecode.com/t/math-pow-floating-point-issues/6305 "2023-08-02T21:14:05Z")

</div>

Hi everyone! I’ll keep this short and sweet. It seems that if you raise a static value to a floating point exponential, it works fine. But if you use variable, and raise it to an exponential, it converts the exponent to…

[Next page](https://forum.makecode.com/c/custom-makecode-editors/8.md?page=1)
