# OH MY GOSH I THINK I DID IT! (animation flipping function)

**URL:** https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466
**Category:** Show & Tell
**Created:** [December 22, 2021, 7:55pm UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466 "2021-12-22T19:55:40Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)
#### Post date: [December 22, 2021, 7:55pm UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/1 "2021-12-22T19:55:40Z")

</div>

I think I made a function that can flip any animation put into it!

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

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

Feel free to use the code here for your own thingys.

---

<div class="post-metadata">

### Author: ![SoftTalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/softtalker/32/10776_2.png) [@SoftTalker](https://forum.makecode.com/u/SoftTalker)
#### Post date: [December 23, 2021, 8:35pm UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/2 "2021-12-23T20:35:48Z")

</div>

Congratulations! @TheJaky

---

<div class="post-metadata">

### Author: ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)
#### Post date: [December 23, 2021, 8:35pm UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/3 "2021-12-23T20:35:50Z")

</div>

Also I think to make it easier you could use a return block

---

<div class="post-metadata">

### Author: ![LaxJack](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@LaxJack](https://forum.makecode.com/u/LaxJack)
#### Post date: [December 24, 2021, 8:40am UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/4 "2021-12-24T08:40:23Z")

</div>

Nice!

---

<div class="post-metadata">

### Author: ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)
#### Post date: [December 24, 2021, 8:40am UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/5 "2021-12-24T08:40:41Z")

</div>

Can you send me the code for a little tweaking?

---

<div class="post-metadata">

### Author: ![LaxJack](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@LaxJack](https://forum.makecode.com/u/LaxJack)
#### Post date: [December 27, 2021, 7:12pm UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/6 "2021-12-27T19:12:12Z")

</div>

Good idea I have been trying it myself.

---

<div class="post-metadata">

### Author: ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)
#### Post date: [December 27, 2021, 7:13pm UTC](https://forum.makecode.com/t/oh-my-gosh-i-think-i-did-it-animation-flipping-function/11466/7 "2021-12-27T19:13:11Z")

</div>

Ok!

> **[flip (and recolor) any animation!](https://arcade.makecode.com/41022-18058-79555-16794)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

and it can also recolor the animation too
