ScratchData LogoScratchData
Back to deck26's profile

Linked sliders

DEdeck26•Created November 21, 2020
Linked sliders
6
3
53 views
View on Scratch

Instructions

Just click the green flag and change either slider. The variables will always add up to 100.

Description

Just the result of answering a recent forum question. I used the mouse y position to detect which of the two values is being changed so the other can be changed to correspond. You can change this to suit your circumstances - eg if the sliders were arranged horizontally looking at mouse-x may be more appropriate.

Project Details

Project ID453136455
CreatedNovember 21, 2020
Last ModifiedAugust 30, 2021
SharedNovember 21, 2020
Visibilityvisible
CommentsAllowed