# How to make a sprite random choice system

**URL:** <https://forum.makecode.com/t/how-to-make-a-sprite-random-choice-system/3726>\
**Category:** Arcade\
**Created:** [October 1, 2020, 10:03pm UTC](https://forum.makecode.com/t/how-to-make-a-sprite-random-choice-system/3726 "2020-10-01T22:03:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [October 1, 2020, 10:16pm UTC](https://forum.makecode.com/t/how-to-make-a-sprite-random-choice-system/3726/2 "2020-10-01T22:16:29Z")

</div>

Something like this?

 ![Screen Shot 2020-10-01 at 3.14.40 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7555c6bb19f6b79fefcb331e6f4a712eaeb1a123.png)

Here is the same code written using arrays:

 ![Screen Shot 2020-10-01 at 3.16.06 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/4729b1d98c2f6edfd94f54126f77583897615692.png)

---

_[View the full topic](https://forum.makecode.com/t/how-to-make-a-sprite-random-choice-system/3726)._
