# Is there a way to make sprite flicker?

**URL:** <https://forum.makecode.com/t/is-there-a-way-to-make-sprite-flicker/1026>\
**Category:** Arcade\
**Created:** [January 12, 2020, 2:02am UTC](https://forum.makecode.com/t/is-there-a-way-to-make-sprite-flicker/1026 "2020-01-12T02:02:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reyhanPanci256](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/reyhanpanci256/32/1770_2.png) [@reyhanPanci256](https://forum.makecode.com/u/reyhanPanci256)\
**Post date:** [January 12, 2020, 2:02am UTC](https://forum.makecode.com/t/is-there-a-way-to-make-sprite-flicker/1026/1 "2020-01-12T02:02:33Z")

</div>

how do you make sprite flicker in makecode arcade?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [January 12, 2020, 3:47am UTC](https://forum.makecode.com/t/is-there-a-way-to-make-sprite-flicker/1026/2 "2020-01-12T03:47:19Z")

</div>

There’s an ‘invisible’ flag under the same list of flags as ‘stay in screen’, that makes it so the sprite won’t be shown on the screen. In [https://makecode.com/\_31JF1D3PEHVV](https://makecode.com/_31JF1D3PEHVV) I turn that off and on every 1/5 second to make it flicker - in this case I have to use a variable to store whether the sprite is currently visible or not, as we don’t have a block right now for “is this sprite flag currently on” (I think that would be a good one to add, though)
