# PXT

**URL:** https://forum.makecode.com/c/custom-makecode-editors/8.md?page=2

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

**Page:** 3

---

## [Custom block inline translation for Langs with variants](https://forum.makecode.com/t/custom-block-inline-translation-for-langs-with-variants/2636)

<div class="topic-metadata">

**Author:** [@joan](https://forum.makecode.com/u/joan)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 4:30pm UTC](https://forum.makecode.com/t/custom-block-inline-translation-for-langs-with-variants/2636 "2021-04-16T16:30:03Z")

</div>

Hi! Playing around with the translations via inline-comments for custom blocks. I can get these to work no problem for French and other languages like so: //%block.loc.fr=“French translation” But I seem to be getting t…

---

## [Need help using the PXT CLI](https://forum.makecode.com/t/need-help-using-the-pxt-cli/7393)

<div class="topic-metadata">

**Author:** [@sportshead](https://forum.makecode.com/u/sportshead)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 3:56pm UTC](https://forum.makecode.com/t/need-help-using-the-pxt-cli/7393 "2021-04-15T15:56:25Z")

</div>

So I setup the GitHub repo, cloned it to my computer, and setup VS Code. I made a few changes, but realized I couldn’t use the simulator, so I setup GH Pages and ran jekyll locally. My problem now is that the GH Pages si…

---

## [Microsoft MakeCode Arcade](https://forum.makecode.com/t/microsoft-makecode-arcade/7081)

<div class="topic-metadata">

**Author:** [@tswcps](https://forum.makecode.com/u/tswcps)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 4:04pm UTC](https://forum.makecode.com/t/microsoft-makecode-arcade/7081 "2021-03-29T16:04:33Z")

</div>

---

## [Variables in Blocks](https://forum.makecode.com/t/variables-in-blocks/4786)

<div class="topic-metadata">

**Author:** [@supershook](https://forum.makecode.com/u/supershook)\
**Replies:** 4\
**Last updated:** [December 4, 2020, 7:55pm UTC](https://forum.makecode.com/t/variables-in-blocks/4786 "2020-12-04T19:55:53Z")

</div>

I’ve been trying to place variables inside a block so they would appear with the functions but I’m not sure how to get it to work. Can anyone help me out?

---

## [Protractor field limits to 180 degrees, doesn't accept fractions](https://forum.makecode.com/t/protractor-field-limits-to-180-degrees-doesnt-accept-fractions/4498)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 6\
**Last updated:** [March 26, 2021, 9:47pm UTC](https://forum.makecode.com/t/protractor-field-limits-to-180-degrees-doesnt-accept-fractions/4498 "2021-03-26T21:47:34Z")

</div>

I am trying to implement a turn block, so I hooked up the protractor… It looks as if it limits to 180 degrees? I also can’t do decimals - any time someone types them in they get floored. Is there any way I can use t…

---

## [Problem with pxt-sample](https://forum.makecode.com/t/problem-with-pxt-sample/6713)

<div class="topic-metadata">

**Author:** [@marcov](https://forum.makecode.com/u/marcov)\
**Replies:** 1\
**Last updated:** [March 19, 2021, 7:22am UTC](https://forum.makecode.com/t/problem-with-pxt-sample/6713 "2021-03-19T07:22:25Z")

</div>

I would like to build my own PXT with really few visual blocks. I would like to run it locally. I tried to document myself and this is what I’ve done I think I was able to install and run pxt-microbit following these s…

---

## [Custom Block executing an HTTP GET](https://forum.makecode.com/t/custom-block-executing-an-http-get/6740)

<div class="topic-metadata">

**Author:** [@marcov](https://forum.makecode.com/u/marcov)\
**Replies:** 0\
**Last updated:** [March 12, 2021, 4:12pm UTC](https://forum.makecode.com/t/custom-block-executing-an-http-get/6740 "2021-03-12T16:12:51Z")

</div>

I would like to customize a block in such a way that when executed, it generates an HTTP GET call to an IP address accessible on the same network. Do you have any examples to study please ? I don’t know in which part to…

---

## [Prevent indentation of inputs - PXT Blockly](https://forum.makecode.com/t/prevent-indentation-of-inputs-pxt-blockly/6384)

<div class="topic-metadata">

**Author:** [@JoshuaLowe1002](https://forum.makecode.com/u/JoshuaLowe1002)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 12:07am UTC](https://forum.makecode.com/t/prevent-indentation-of-inputs-pxt-blockly/6384 "2021-02-26T00:07:02Z")

</div>

Hi all, I was wondering if anyone knew where the code was this indents inputs if they interfere with the top and bottom connectors, i’d like to be able to tweak it in my implementation of PXT blockly. Thanks!

---

## [Reset Template between activities](https://forum.makecode.com/t/reset-template-between-activities/6185)

<div class="topic-metadata">

**Author:** [@CarlTS](https://forum.makecode.com/u/CarlTS)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 1:32am UTC](https://forum.makecode.com/t/reset-template-between-activities/6185 "2021-02-15T01:32:17Z")

</div>

Hi All, Just wondering if there is a way to remove the blocks users have added between activities. I can use template as a base at the start, but when a new activity starts, is there a way to return it to a fresh slate…

---

## [Navigating custom tutorial](https://forum.makecode.com/t/navigating-custom-tutorial/6184)

<div class="topic-metadata">

**Author:** [@CarlTS](https://forum.makecode.com/u/CarlTS)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 1:30am UTC](https://forum.makecode.com/t/navigating-custom-tutorial/6184 "2021-02-15T01:30:18Z")

</div>

Hi All, Writing a multiple activity tutorial If the tutorial has an “@unplugged” component, Users can not go to the previous step.Is there a way to fix this? Sample Code ## Activity 1 ### Step 1 Instructions for st…

---

## [Lacking documentation](https://forum.makecode.com/t/lacking-documentation/5740)

<div class="topic-metadata">

**Author:** [@ychamare](https://forum.makecode.com/u/ychamare)\
**Replies:** 2\
**Last updated:** [January 27, 2021, 6:34pm UTC](https://forum.makecode.com/t/lacking-documentation/5740 "2021-01-27T18:34:45Z")

</div>

I believe the Documentation is very vague and not helpful t all, is this all you need to do, not really right?? Adding a JavaScript library to your target There are many useful JavaScript libraries that you might want t…

---

## [PXT errors](https://forum.makecode.com/t/pxt-errors/5764)

<div class="topic-metadata">

**Author:** [@ychamare](https://forum.makecode.com/u/ychamare)\
**Replies:** 2\
**Last updated:** [January 27, 2021, 4:13pm UTC](https://forum.makecode.com/t/pxt-errors/5764 "2021-01-27T16:13:42Z")

</div>

Can’t clean these Typescript errors any ideas

---

## [Updating to 6.0.1 + Typescript 3.7.5 ... ](https://forum.makecode.com/t/updating-to-6-0-1-typescript-3-7-5/5791)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 4:12pm UTC](https://forum.makecode.com/t/updating-to-6-0-1-typescript-3-7-5/5791 "2021-01-27T16:12:34Z")

</div>

I upgraded to 6.0.1 and loving it so far - seems to have fixed a performance issue for me. However I have two breaking changes: cardType=example no longer load - the project is empty when loaded. For now I just swit…

---

## [ Upgrading to 6.0.1 -- Fixed](https://forum.makecode.com/t/upgrading-to-6-0-1-fixed/5790)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 0\
**Last updated:** [January 27, 2021, 4:10pm UTC](https://forum.makecode.com/t/upgrading-to-6-0-1-fixed/5790 "2021-01-27T16:10:28Z")

</div>

This was an own goal. I was trying to capture toplevelcodefinished which doesnt seem to come to the simulator itself? So I foolishly turned on allowParentController in pxtarget.json - which had other repercussions I was…

---

## [How to customize your own pxt editor?](https://forum.makecode.com/t/how-to-customize-your-own-pxt-editor/671)

<div class="topic-metadata">

**Author:** [@acldm](https://forum.makecode.com/u/acldm)\
**Replies:** 2\
**Last updated:** [January 25, 2021, 6:37pm UTC](https://forum.makecode.com/t/how-to-customize-your-own-pxt-editor/671 "2021-01-25T18:37:51Z")

</div>

The documentation is simply too simplistic, pxtsim does not explain at all. Who is this library to use for?

---

## [Server build fail (hex cache issue?)](https://forum.makecode.com/t/server-build-fail-hex-cache-issue/5504)

<div class="topic-metadata">

**Author:** [@joshkeys19](https://forum.makecode.com/u/joshkeys19)\
**Replies:** 5\
**Last updated:** [January 13, 2021, 3:59pm UTC](https://forum.makecode.com/t/server-build-fail-hex-cache-issue/5504 "2021-01-13T15:59:37Z")

</div>

Hi everyone, I’m hoping to keep this as to the point as possible as I’m not entirely sure which direction to look. @hlopezbl and I have cloned pxt pxt-common-packages and pxt-microbit and linked everything properly. …

---

## [Gallery rendering bug](https://forum.makecode.com/t/gallery-rendering-bug/4477)

<div class="topic-metadata">

**Author:** [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Replies:** 1\
**Last updated:** [January 6, 2021, 10:32pm UTC](https://forum.makecode.com/t/gallery-rendering-bug/4477 "2021-01-06T22:32:44Z")

</div>

Lots of the images look squished but clicking on them still puts the image onto the canvas correctly. I’m not in Beta.

---

## [Compiling New Simultor](https://forum.makecode.com/t/compiling-new-simultor/5391)

<div class="topic-metadata">

**Author:** [@ychamare](https://forum.makecode.com/u/ychamare)\
**Replies:** 0\
**Last updated:** [January 6, 2021, 7:59pm UTC](https://forum.makecode.com/t/compiling-new-simultor/5391 "2021-01-06T19:59:35Z")

</div>

Hello all, we have been successful creating all the blocks and now we like to connect those block to our Simulator and new SVG (SVG of our target), which files should edit this, we are a little lost now I appreciate any …

---

## [Adding Arrays and Functions blocks](https://forum.makecode.com/t/adding-arrays-and-functions-blocks/5307)

<div class="topic-metadata">

**Author:** [@khayliang](https://forum.makecode.com/u/khayliang)\
**Replies:** 0\
**Last updated:** [January 2, 2021, 3:52pm UTC](https://forum.makecode.com/t/adding-arrays-and-functions-blocks/5307 "2021-01-02T15:52:16Z")

</div>

Hi, I noticed in a lot of editors like microbit, maker etc, they come with array blocks. However the PXT sample editor doesn’t have them. May I know how do I add those blocks in?

---

## [Making my own block that has a body and is not a top block](https://forum.makecode.com/t/making-my-own-block-that-has-a-body-and-is-not-a-top-block/2347)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 13\
**Last updated:** [December 17, 2020, 6:59pm UTC](https://forum.makecode.com/t/making-my-own-block-that-has-a-body-and-is-not-a-top-block/2347 "2020-12-17T18:59:24Z")

</div>

I am trying to make a block that groups other blocks. In my case, these groups form a group of shapes on a 3D surface. The repeat block shape is perfect for this. And with some difficulty, I managed to convert the for…

---

## [Enabling the github button / User tutorial authoring tools?](https://forum.makecode.com/t/enabling-the-github-button-user-tutorial-authoring-tools/4983)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 0\
**Last updated:** [December 14, 2020, 2:07am UTC](https://forum.makecode.com/t/enabling-the-github-button-user-tutorial-authoring-tools/4983 "2020-12-14T02:07:53Z")

</div>

Hey I was very excited to make this find on “User Tutorials”: I have a bunch of teachers who might be interested in making their own content based on their own curriculum - so I was wondering what I need to do to li…

---

## [token generator ](https://forum.makecode.com/t/token-generator/4791)

<div class="topic-metadata">

**Author:** [@yurichamarelli](https://forum.makecode.com/u/yurichamarelli)\
**Replies:** 0\
**Last updated:** [December 4, 2020, 1:40am UTC](https://forum.makecode.com/t/token-generator/4791 "2020-12-04T01:40:12Z")

</div>

Hello, member of the forum. is there any reference you could point me to on the mechanism which generates the tokens for the Editor webpages? We have a challenge behind our implementation which is being able to run multi…

---

## [my game](https://forum.makecode.com/t/my-game/4689)

<div class="topic-metadata">

**Author:** [@naco00](https://forum.makecode.com/u/naco00)\
**Replies:** 0\
**Last updated:** [November 29, 2020, 9:07pm UTC](https://forum.makecode.com/t/my-game/4689 "2020-11-29T21:07:34Z")

</div>

https://makecode.com/\_Fs4KUoE36RwP2020-11-29T05:00:00Z (UTC)

---

## [Peli parle français ! (a.k.a. Translating MakeCode Documentation) ](https://forum.makecode.com/t/peli-parle-francais-a-k-a-translating-makecode-documentation/4685)

<div class="topic-metadata">

**Author:** [@AlexK](https://forum.makecode.com/u/AlexK)\
**Replies:** 1\
**Last updated:** [November 29, 2020, 10:03am UTC](https://forum.makecode.com/t/peli-parle-francais-a-k-a-translating-makecode-documentation/4685 "2020-11-29T10:03:10Z")

</div>

@peli a posté quelques vidéos sur la traduction de la documentation, y compris les tutorials, pour MakeCode « dans le contexte ». En anglais: https://youtu.be/n2iirnaVYNk En français: https://youtu.be/fWhalpONz1U Si…

---

## [Code generation?](https://forum.makecode.com/t/code-generation/4050)

<div class="topic-metadata">

**Author:** [@jfo8000](https://forum.makecode.com/u/jfo8000)\
**Replies:** 5\
**Last updated:** [November 23, 2020, 9:19am UTC](https://forum.makecode.com/t/code-generation/4050 "2020-11-23T09:19:26Z")

</div>

For my PXT target (https://makecode.buildbee.com) I have a couple of scenarios where code generation might be helpful to my cause - so for example: There’s a popular C-like programming language out there that I would l…

---

## [Export blockly code into some text file](https://forum.makecode.com/t/export-blockly-code-into-some-text-file/4559)

<div class="topic-metadata">

**Author:** [@khayliang](https://forum.makecode.com/u/khayliang)\
**Replies:** 0\
**Last updated:** [November 22, 2020, 6:23am UTC](https://forum.makecode.com/t/export-blockly-code-into-some-text-file/4559 "2020-11-22T06:23:32Z")

</div>

Hi, I’m planning a project where I need to be able to export code written in blockly code into some readable format and send it to a server, where I’d then process and run it there. I’ve looked through the docs, and can’…

---

## [Menu key bind?](https://forum.makecode.com/t/menu-key-bind/4464)

<div class="topic-metadata">

**Author:** [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Replies:** 0\
**Last updated:** [November 17, 2020, 1:45am UTC](https://forum.makecode.com/t/menu-key-bind/4464 "2020-11-17T01:45:57Z")

</div>

Hmmmmm… Anyway, my game heavily relies on the use of the Menu key. Is there a key for Menu, like how space is A and enter is B? If there isn’t, could you bind a key to it? Why isn’t it already bound to a key? What d…

---

## [Delete enum property on drop down](https://forum.makecode.com/t/delete-enum-property-on-drop-down/4460)

<div class="topic-metadata">

**Author:** [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Replies:** 3\
**Last updated:** [November 17, 2020, 12:29am UTC](https://forum.makecode.com/t/delete-enum-property-on-drop-down/4460 "2020-11-17T00:29:07Z")

</div>

I’m very, um, to say the least, finicky about variables that aren’t needed. So whenever I drag a block out that uses a sprite, I go to the Variables category and delete mySprite after dealing with the block of code. The…

---

## [Makecode snapshots of blocks](https://forum.makecode.com/t/makecode-snapshots-of-blocks/4183)

<div class="topic-metadata">

**Author:** [@ChristianSW](https://forum.makecode.com/u/ChristianSW)\
**Replies:** 3\
**Last updated:** [November 12, 2020, 9:32pm UTC](https://forum.makecode.com/t/makecode-snapshots-of-blocks/4183 "2020-11-12T21:32:52Z")

</div>

I would love to use Makecode snapshots of blocks in OERs like wikimedia. Is it possible to use screenshots or snapshots of the MakeCode editor under a free license (like Creative Commons)?

---

## [Getting started with a pxt extension for micro:bit](https://forum.makecode.com/t/getting-started-with-a-pxt-extension-for-micro-bit/4353)

<div class="topic-metadata">

**Author:** [@tncbbthositg](https://forum.makecode.com/u/tncbbthositg)\
**Replies:** 2\
**Last updated:** [November 10, 2020, 7:17pm UTC](https://forum.makecode.com/t/getting-started-with-a-pxt-extension-for-micro-bit/4353 "2020-11-10T19:17:26Z")

</div>

I’ve read through a lot of documentation regarding creating PXT extensions. I need to put one together for a third party micro:bit accessory I bought for my kids. I was following along trying to get PXT to let me pick …

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

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