Discuss Scratch

Tortuga_Lover
Scratcher
55 posts

How To Make Sliders To Change Color, Size, Ect

Hi, I am making a mouse trail maker and I don't know how to make sliders to change the color/size/ect. Can someone tell me or gimme a project tutorial link? Please?
Wyan100
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

If you have a Variable on screen, you can right click it and change what type of display it is. Such as readout, large display, and slider!
Tortuga_Lover
Scratcher
55 posts

How To Make Sliders To Change Color, Size, Ect

Wyan100 wrote:

If you have a Variable on screen, you can right click it and change what type of display it is. Such as readout, large display, and slider!
Can you say that with more detail? I don't understand, is there a project on how to do it?
Wyan100
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

Hold on I'm trying to make a picture for it…

Last edited by Wyan100 (June 23, 2020 17:23:59)

Wyan100
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

Okay, I can't figure out how to post picture in Forums. But I'll try to break it down as simple as possible, so you know what a variable is. Right?

Stop reading now if you don't know.

Okay if you are still reading then you know what a variable is. If you go to the variable section of the block menu then it will show all the variables in the project, pick the one you want to make a slider out of and click the little box next to it so there is a blue check mark (unless there is already a blue check mark) Then on screen an orange box with the name of the variable next to it should appear, right-click it and select “slider” from the drop down menu. Then it will turn into a slider, you can click and drag it anywhere on the stage depending where you want it to be.

Does that make sense? Sorry if it sounds like I'm being condescending. I'm not.
Tortuga_Lover
Scratcher
55 posts

How To Make Sliders To Change Color, Size, Ect

Wyan100 wrote:

Okay, I can't figure out how to post picture in Forums. But I'll try to break it down as simple as possible, so you know what a variable is. Right?

Stop reading now if you don't know.

Okay if you are still reading then you know what a variable is. If you go to the variable section of the block menu then it will show all the variables in the project, pick the one you want to make a slider out of and click the little box next to it so there is a blue check mark (unless there is already a blue check mark) Then on screen an orange box with the name of the variable next to it should appear, right-click it and select “slider” from the drop down menu. Then it will turn into a slider, you can click and drag it anywhere on the stage depending where you want it to be.

Does that make sense? Sorry if it sounds like I'm being condescending. I'm not.
Ok, I have the slider how do I code it to change when you slide it?
mlcreater
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

Tortuga_Lover wrote:

Ok, I have the slider how do I code it to change when you slide it?
What is your variable (on the slider) called?
Wyan100
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

Tortuga_Lover wrote:

Wyan100 wrote:

Okay, I can't figure out how to post picture in Forums. But I'll try to break it down as simple as possible, so you know what a variable is. Right?

Stop reading now if you don't know.

Okay if you are still reading then you know what a variable is. If you go to the variable section of the block menu then it will show all the variables in the project, pick the one you want to make a slider out of and click the little box next to it so there is a blue check mark (unless there is already a blue check mark) Then on screen an orange box with the name of the variable next to it should appear, right-click it and select “slider” from the drop down menu. Then it will turn into a slider, you can click and drag it anywhere on the stage depending where you want it to be.

Does that make sense? Sorry if it sounds like I'm being condescending. I'm not.
Ok, I have the slider how do I code it to change when you slide it?

Well what do you want to change? Color? Size? Costume? The Options are almost infinite!
JplaysStuff
Scratcher
100+ posts

How To Make Sliders To Change Color, Size, Ect

assuming you have a slider variable named “color”…

whenclickedforeversetcoloreffecttocolor
Tortuga_Lover
Scratcher
55 posts

How To Make Sliders To Change Color, Size, Ect

mlcreater wrote:

Tortuga_Lover wrote:

Ok, I have the slider how do I code it to change when you slide it?
What is your variable (on the slider) called?
color
Tortuga_Lover
Scratcher
55 posts

How To Make Sliders To Change Color, Size, Ect

Wyan100 wrote:

Tortuga_Lover wrote:

Wyan100 wrote:

Okay, I can't figure out how to post picture in Forums. But I'll try to break it down as simple as possible, so you know what a variable is. Right?

Stop reading now if you don't know.

Okay if you are still reading then you know what a variable is. If you go to the variable section of the block menu then it will show all the variables in the project, pick the one you want to make a slider out of and click the little box next to it so there is a blue check mark (unless there is already a blue check mark) Then on screen an orange box with the name of the variable next to it should appear, right-click it and select “slider” from the drop down menu. Then it will turn into a slider, you can click and drag it anywhere on the stage depending where you want it to be.

Does that make sense? Sorry if it sounds like I'm being condescending. I'm not.
Ok, I have the slider how do I code it to change when you slide it?

Well what do you want to change? Color? Size? Costume? The Options are almost infinite!
i wanna do color, size, and costume, what is the code for it?
Vibrato
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

JplaysStuff wrote:

assuming you have a slider variable named “color”…

whenclickedforeversetcoloreffecttocolor
^This does the trick.

For size and costume too,
whenclickedforeversetcoloreffecttocolorsetsizetosizeswitchcostumetocostume
Tortuga_Lover
Scratcher
55 posts

How To Make Sliders To Change Color, Size, Ect

Vibrato wrote:

JplaysStuff wrote:

assuming you have a slider variable named “color”…

whenclickedforeversetcoloreffecttocolor
^This does the trick.

For size and costume too,
whenclickedforeversetcoloreffecttocolorsetsizetosizeswitchcostumetocostume
thx!!!!
phyrenic-eyes
Scratcher
3 posts

How To Make Sliders To Change Color, Size, Ect

hey i have the same question for negitivbe sise change
Jlerpy
Scratcher
1000+ posts

How To Make Sliders To Change Color, Size, Ect

phyrenic-eyes wrote:

hey i have the same question for negitivbe sise change

You should start a new thread

Powered by DjangoBB