How can i set random pullblock

HI:

Im trying to set jenger NPC player2, whan i pull one block , it ll random pull andother block!!, Pls help Thank you.

Hi @Chi-Wai_ttckcw01,

If you can share a link to your CoSpace and make it remixable, it will be much easier to help you find a solution.

Many thanks,
Geoff @ TechLeap

OH Im sorry ,here is my code
jender 2Player

Ok, so you need to create a list add put each block in it. You can then pick a random block from that list. Here’s a remixable example:

But now you have another problem - how do figure out which blocks have fallen down?..

Hope that helps! Let me know if you have any further questions about this. If this solves your problem, please mark this post as the Solution.

Many thanks,
Geoff @ TechLeap

1 Like

OH I got it, and thaks very much.

1 Like