Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help me make a scroll wheel for my game
- RGA-CREATZ
-
Scratcher
8 posts
Help me make a scroll wheel for my game
im trying to make a clicker game but all the upgrades wont fit can someone help me make a scrolling thing
- dem_bot
-
Scratcher
100+ posts
Help me make a scroll wheel for my game
in this thing https://scratch.mit.edu/projects/1235947583/ I made a scroll thing, it's horizontal, but quite easy to modify to being vertical. If you add
when [ up arrow v] key pressedthe scroll wheel of the mouse will also be able to scroll.
scroll up
when [ down arrow v] key pressed
scroll down
- RGA-CREATZ
-
Scratcher
8 posts
Help me make a scroll wheel for my game
i do not under stand your script, i will put the link here so you can modify my game and make the scroll thing for my upgrades https://scratch.mit.edu/projects/1255287985/editor
Last edited by RGA-CREATZ (Dec. 14, 2025 12:33:54)
- RGA-CREATZ
-
Scratcher
8 posts
Help me make a scroll wheel for my game
you can put a screen shot of it so i can copy it into my game
- dem_bot
-
Scratcher
100+ posts
Help me make a scroll wheel for my game
here u go sir
https://scratch.mit.edu/projects/1255800019/
https://scratch.mit.edu/projects/1255800019/
- Zebras-Are-Yumz
-
Scratcher
7 posts
Help me make a scroll wheel for my game
Are you wanting to be able to use the scroll wheel on your mouse to scroll?
- _--_-_-_-_-_-_--_
-
Scratcher
10 posts
Help me make a scroll wheel for my game
im trying to make a clicker game but all the upgrades wont fit can someone help me make a scrolling thingHi! This might be useful for you!
when [up arrow] key pressed
if <not <key [up arrow] pressed?>> then
Enter your code when you scroll up here!
end
when [down arrow] key pressed
if <not <key [down arrow] pressed?>> then
Enter your code when you scroll down here!
end
Last edited by _--_-_-_-_-_-_--_ (Dec. 14, 2025 20:03:03)
- RGA-CREATZ
-
Scratcher
8 posts
Help me make a scroll wheel for my game
yes but the thing is i dont know the code for the scroll wheel
- Zebras-Are-Yumz
-
Scratcher
7 posts
Help me make a scroll wheel for my game
yes but the thing is i dont know the code for the scroll wheelI can make up a script and give it to you when I have the time

- Jlerpy
-
Scratcher
1000+ posts
Help me make a scroll wheel for my game
Here's an example project: https://scratch.mit.edu/projects/1203162480/editor
- RGA-CREATZ
-
Scratcher
8 posts
Help me make a scroll wheel for my game
thank you this is very easy to follow and copy

- Qwerty94Uiop
-
Scratcher
7 posts
Help me make a scroll wheel for my game
im trying to make a clicker game but all the upgrades wont fit can someone help me make a scrolling thingIts quite easy! if you want a scrolling wheel mechanic just do this
when [up arrow v] key pressed
if <not<key [up arrow v] pressed?>> then
your code here
end
If you want it in a sprite
when this sprite clickedNow just make it so that the sprites for the upgrades will change Y on the Y position. Scratch on!
repeat until <not <mouse down?>>
set x to ((your x))
go to [mouse-pointer v]
if <(y position) < [Min Y]> then
set y to (((Min Y)) + (1))
end
if <(y position) > [Max Y]> then
set y to (((Max Y)) - (1))
end
end

- Discussion Forums
- » Help with Scripts
-
» Help me make a scroll wheel for my game