# Recreate the while block

**URL:** <https://forum.makecode.com/t/recreate-the-while-block/10057>\
**Category:** Minecraft\
**Created:** [September 16, 2021, 6:19pm UTC](https://forum.makecode.com/t/recreate-the-while-block/10057 "2021-09-16T18:19:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elay7771](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/elay7771/32/4977_2.png) [@Elay7771](https://forum.makecode.com/u/Elay7771)\
**Post date:** [September 16, 2021, 6:19pm UTC](https://forum.makecode.com/t/recreate-the-while-block/10057/1 "2021-09-16T18:19:24Z")

</div>

Is there a way I can make my own while block?  
I want my extension to have a while  
Block that behaves exactly like the default while block in loops. If there is a way to take the already existing while block and change its name and shadow that also would be great.  
Example:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/be7b8d30fdb60ab8a3b3e26b5e403db3c622e922.jpeg)
