# How to do a Spinning Wheel?

**URL:** https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [August 5, 2021, 10:41am UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336 "2021-08-05T10:41:05Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 10:41am UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/1 "2021-08-05T10:41:05Z")

</div>

hello please if someone have spinwheel project please share it thank you

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 5, 2021, 1:57pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/2 "2021-08-05T13:57:58Z")

</div>

You can use canvas for that, I have a Lucky Wheel in my as well:

 ![IMG_8666](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/1/a1e83a51821ea95e3142faa4665521f2af217e27.jpeg)

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 3:12pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/3 "2021-08-05T15:12:10Z")

</div>

okey can i have the link of page or project please

---

<div class="post-metadata">

### Author: ![jonathonschnoor6x4b5](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jonathonschnoor6x4b5/32/112262_2.png) [@jonathonschnoor6x4b5](https://community.thunkable.com/u/jonathonschnoor6x4b5)
#### Post date: [August 5, 2021, 4:22pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/4 "2021-08-05T16:22:35Z")

</div>

If you’re wonder about the code, you just need to check if the object’s direction is between two angles. For example,

15\<x\<90

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 5:00pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/5 "2021-08-05T17:00:25Z")

</div>

yes i just needt an exemple of project , like when user click on start wheel is spenning and after it show him a message like , “congratulations you are lucky” or something like that please if you can help

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 5, 2021, 6:27pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/6 "2021-08-05T18:27:54Z")

</div>

Hi there,

I can’t share my code with you because it is a part of a big project, but I hope I can help you out with the followings:

First, I created a canvas for the wheel like this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/0/104f38e8d8e5c4bdd0c9d736aa7c3c46aec605ef.png)

Hint: On my wheel I have 6 equal parts, each of them are 60 degrees.

I spin the wheel like this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/455999e4aeca17eb60bf8b8537515b337ca7e744.png)

And finally, I check the result like this:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/7/27d4bc34d85f6ad5c973857fdb411a6a1de9230f.png)

Hope, that helped.

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 6:49pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/7 "2021-08-05T18:49:23Z")

</div>

ok thank you so much i will try this i need just blocks and canvas i will try it and give you an answer thank you again

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 6:52pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/8 "2021-08-05T18:52:11Z")

</div>

and please for showing message after user spine the wheel , like “congratulations you are lucky” how i can add this ?

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 5, 2021, 7:07pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/9 "2021-08-05T19:07:51Z")

</div>

Just hide the canvas and display a label.

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 7:10pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/10 "2021-08-05T19:10:58Z")

</div>

ite diffecult to understand 😕 , and how to stop wheel after spinning for 5seconds like this

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 5, 2021, 8:00pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/11 "2021-08-05T20:00:13Z")

</div>

> [@skulamester](#):
>
> ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/455999e4aeca17eb60bf8b8537515b337ca7e744.png)
> 
> image1976×662 131 KB

That way the wheel will stop, but this is my code in my app, you can modify this.

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 5, 2021, 8:12pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/12 "2021-08-05T20:12:27Z")

</div>

haha i can not stop the wheel and its spinning in 2 sides how i can make it spinning just in left and stop it after 5 or 6 seconds ?

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 5, 2021, 8:28pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/13 "2021-08-05T20:28:51Z")

</div>

Did you copy my block correctly? It should work.

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 6, 2021, 2:08pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/14 "2021-08-06T14:08:53Z")

</div>

Here is the sample link: [Thunkable](https://x.thunkable.com/copy/49f6be6598902646522e9464ccebf51c)

But it might not work because Thunkable is buggy and you can’t copy project having canvas in it properly.

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 6, 2021, 2:14pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/15 "2021-08-06T14:14:27Z")

</div>

bro thank you its work now the link work now thank you so much and sorry for disturbing

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 6, 2021, 2:16pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/16 "2021-08-06T14:16:14Z")

</div>

If it is working, please mark this topic as solved, thanks!

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 6, 2021, 2:25pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/17 "2021-08-06T14:25:14Z")

</div>

Just to visualize the project:

![ezgif.com-gif-maker (8)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/4/d4b906e37c15252a243dc4e59b006b01e9642268.gif)

---

<div class="post-metadata">

### Author: ![enzka007](https://avatars.discourse-cdn.com/v4/letter/e/839c29/32.png) [@enzka007](https://community.thunkable.com/u/enzka007)
#### Post date: [August 6, 2021, 2:31pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/18 "2021-08-06T14:31:42Z")

</div>

yes its solved brother thank you so much and sorry for disturbing you

---

<div class="post-metadata">

### Author: ![skulamester](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/skulamester/32/100480_2.png) [@skulamester](https://community.thunkable.com/u/skulamester)
#### Post date: [August 6, 2021, 2:32pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/19 "2021-08-06T14:32:53Z")

</div>

No problem, anytime.

---

<div class="post-metadata">

### Author: ![rahaffahmy2532008jic](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rahaffahmy2532008jic](https://community.thunkable.com/u/rahaffahmy2532008jic)
#### Post date: [June 24, 2023, 1:43pm UTC](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336/20 "2023-06-24T13:43:24Z")

</div>

the link is expired  
can you share it again pleas?

[Next page](https://community.thunkable.com/t/how-to-do-a-spinning-wheel/1432336.md?page=2)
