ScratchData LogoScratchData
Back to gregatku's profile

Simple iPad Slider

GRgregatku•Created October 2, 2022
Simple iPad Slider
2
1
61 views
View on Scratch

Instructions

Simple iPad Slider (backpack-able Sprite) You can't select the option to change the range of selectable values of a Variable Slider on an iPad, so this project provides a simple workaround for the issue. The Variable "Slider" will need to be renamed to the name of the variable you want a slider for. Other variables here are "For this Spite only" so they won't interfere with any of your Variables. You'll need to set them to appropriate values for your project, they are: min - the Minimum value for your Slider variable max - the Maximum value for your Slider variable distance apart - # pixels separating the 2 buttons (it may depend on how long your Variable name is) You may also need to change the "go to x: y:" values at the top of the "When Flag Clicked" block, to wherever you want the Down (Left) Button to appear. If you don't want your Variable's value to be changed while the project is running, the Sprite responds to 2 broadcast messages: "Hide Slider Buttons" and "Show Slider Buttons", to enable you to hide or show them whenever you hide or show your Slider Variable.

Description

Created by @gregatku for use in Coding Classes for Kids Unlimited, for whom I work as a Coding teacher. Created specifically for a work colleague, who wanted a solution to the problem.

Project Details

Project ID739872048
CreatedOctober 2, 2022
Last ModifiedAugust 1, 2024
SharedJuly 17, 2024
Visibilityvisible
CommentsAllowed