# Help to making function

**URL:** https://forum.makecode.com/t/help-to-making-function/4280
**Category:** Help
**Created:** [November 5, 2020, 8:39am UTC](https://forum.makecode.com/t/help-to-making-function/4280 "2020-11-05T08:39:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)
#### Post date: [November 5, 2020, 8:39am UTC](https://forum.makecode.com/t/help-to-making-function/4280/1 "2020-11-05T08:39:14Z")

</div>

> **[Function Test](https://arcade.makecode.com/85085-93738-22695-18013)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

  
 ![Screen Shot 2020-11-05 at 4.32.00 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/398504a64833398f67f9f50ca25165b909c551ec.png)  
It says “} expected” but when I place it a lot more things happen like this  
 ![Screen Shot 2020-11-05 at 4.35.34 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/f/f52ff97f4e41dc868b3e4924b947be033f28ad46.png)  
Please help

---

<div class="post-metadata">

### Author: ![felixtsu](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/felixtsu/32/12024_2.png) [@felixtsu](https://forum.makecode.com/u/felixtsu)
#### Post date: [November 5, 2020, 10:46am UTC](https://forum.makecode.com/t/help-to-making-function/4280/2 "2020-11-05T10:46:09Z")

</div>

Put function body inside {}

Like ShadowSmall() in the following

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e4f594793dea8d6beda10c67ac0faca5cbffd958.png)

---

<div class="post-metadata">

### Author: ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)
#### Post date: [November 5, 2020, 12:41pm UTC](https://forum.makecode.com/t/help-to-making-function/4280/3 "2020-11-05T12:41:37Z")

</div>

There is still a bug.

---

<div class="post-metadata">

### Author: ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)
#### Post date: [November 5, 2020, 12:44pm UTC](https://forum.makecode.com/t/help-to-making-function/4280/4 "2020-11-05T12:44:56Z")

</div>

![Screen Shot 2020-11-05 at 8.41.46 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/565ec8b13b669d632cd75deae03497e8791f0c0d.png)

---

<div class="post-metadata">

### Author: ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)
#### Post date: [November 5, 2020, 12:57pm UTC](https://forum.makecode.com/t/help-to-making-function/4280/5 "2020-11-05T12:57:28Z")

</div>

my current code

> **[Extension Test](https://arcade.makecode.com/14896-20737-27332-01144)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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: [November 5, 2020, 12:58pm UTC](https://forum.makecode.com/t/help-to-making-function/4280/6 "2020-11-05T12:58:39Z")

</div>

I think you forgot to move the braces around.

Is this what you wanted?

> **[Function Test](https://arcade.makecode.com/59468-13983-01431-99585)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
