# How to load a block's code using an image

**URL:** <https://forum.makecode.com/t/how-to-load-a-blocks-code-using-an-image/38090>\
**Category:** Help\
**Tags:** game, extension, demo\
**Created:** [July 15, 2025, 8:11pm UTC](https://forum.makecode.com/t/how-to-load-a-blocks-code-using-an-image/38090 "2025-07-15T20:11:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Picosuke](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@Picosuke](https://forum.makecode.com/u/Picosuke)\
**Post date:** [July 15, 2025, 8:11pm UTC](https://forum.makecode.com/t/how-to-load-a-blocks-code-using-an-image/38090/1 "2025-07-15T20:11:05Z")

</div>

““I’m using a translation app, sorry if it’s hard to understand””

Here is the code ( There is some Japanese in it, but please don’t mind. )  
/\*\*

- 名前  
\*/  
//% weight=0 color=#FFA500 icon=“\uf007”  
namespace 名前 {  
let currentName = “”; // 名前を格納する変数

---

<div class="post-metadata">

**Author:** ![DanielZ1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danielz1/32/21989_2.png) [@DanielZ1](https://forum.makecode.com/u/DanielZ1)\
**Post date:** [July 15, 2025, 10:36pm UTC](https://forum.makecode.com/t/how-to-load-a-blocks-code-using-an-image/38090/2 "2025-07-15T22:36:44Z")

</div>

It say the name is not a function
