# The "Pick random" block doesn't seem random

**URL:** <https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968>\
**Category:** Help\
**Created:** [February 13, 2023, 1:38am UTC](https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968 "2023-02-13T01:38:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Freeando](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/freeando/32/7740_2.png) [@Freeando](https://forum.makecode.com/u/Freeando)\
**Post date:** [February 13, 2023, 1:38am UTC](https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968/1 "2023-02-13T01:38:40Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/d11bda96ee778217ee6307f6316fec5268843b72.png)  
This seems like it has nothing wrong in it to me, but it only sets the variable “random” to 3 every time.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7dec7f2521225143c656241d6c2ce153f2552c17.png)  
Same thing with this, however it only picks 2 for the variable “random 2” and still only picks 3 for “random.” Can anyone tell me what’s wrong?

I’m a rookie and very new to using this so sorry if this is a stupid question or super unoptimized.

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [February 13, 2023, 8:16pm UTC](https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968/2 "2023-02-13T20:16:34Z")

</div>

I don’t know why it would do that! I’ve heard that some ‘random’ picks are actually based on the current millisecond of game time, making random numbers easily that aren’t actually random. Maybe if instead of having the game pick random every 4 seconds the time could vary a bit?

---

<div class="post-metadata">

**Author:** ![Codeboy-Advanced](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeboy-advanced/32/11113_2.png) [@Codeboy-Advanced](https://forum.makecode.com/u/Codeboy-Advanced)\
**Post date:** [February 13, 2023, 8:17pm UTC](https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968/3 "2023-02-13T20:17:30Z")

</div>

I have no clue  
do you have multiple instances of the “random” variable?
