# Is there any way to scale an image in one dimension?

**URL:** <https://forum.makecode.com/t/is-there-any-way-to-scale-an-image-in-one-dimension/5536>\
**Category:** Help\
**Created:** [January 13, 2021, 11:11pm UTC](https://forum.makecode.com/t/is-there-any-way-to-scale-an-image-in-one-dimension/5536 "2021-01-13T23:11:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)\
**Post date:** [January 13, 2021, 11:11pm UTC](https://forum.makecode.com/t/is-there-any-way-to-scale-an-image-in-one-dimension/5536/1 "2021-01-13T23:11:04Z")

</div>

How can I scale an image to make it wider?

---

<div class="post-metadata">

**Author:** ![Jabberwock](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Jabberwock](https://forum.makecode.com/u/Jabberwock)\
**Post date:** [January 14, 2021, 3:46pm UTC](https://forum.makecode.com/t/is-there-any-way-to-scale-an-image-in-one-dimension/5536/2 "2021-01-14T15:46:25Z")

</div>

One technique is to make the image split to 3 parts, left right and middle.  
Then in-game when you want to make the image wider you just need to draw the middle part multiple times.

---

<div class="post-metadata">

**Author:** ![TakeTheL08](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/takethel08/32/7018_2.png) [@TakeTheL08](https://forum.makecode.com/u/TakeTheL08)\
**Post date:** [January 14, 2021, 3:47pm UTC](https://forum.makecode.com/t/is-there-any-way-to-scale-an-image-in-one-dimension/5536/3 "2021-01-14T15:47:50Z")

</div>

you can’t without remaking said image

---

<div class="post-metadata">

**Author:** ![CDarius](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cdarius/32/2886_2.png) [@CDarius](https://forum.makecode.com/u/CDarius)\
**Post date:** [January 14, 2021, 6:23pm UTC](https://forum.makecode.com/t/is-there-any-way-to-scale-an-image-in-one-dimension/5536/4 "2021-01-14T18:23:46Z")

</div>

You can do something like this:

> **[Make it wider](https://arcade.makecode.com/78323-11579-68509-72608)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
