Using Multiple Buttons with Scratch

Have extra buttons? Start using them with Scratch!

Setup

Extra Buttons

Connect

Connect the extra buttons to the ports on your VINT Hub Phidget. You can use up to 6 buttons with Scratch!

In this example, we have connected three buttons to Port 3, Port 4, and Port 5.

Code

Practice

  1. Try creating a game that uses all 6 buttons.
  2. Create a custom enclosure for your buttons using cardboard.

What are Phidgets?

Phidgets are programmable USB sensors. Simply plug in your sensor, write code in your favorite language and go!

Phidgets have been used by STEM professionals for over 20 years and are now available to students.

Learn more

Set your preferences

Windows

Mac OS

Raspberry Pi

Java

Python

C#

Swift

NetBeans

Processing

Eclipse

Thonny

PyCharm

PyScripter

Visual Studio

Xcode

Setting your preferred operating system, programming language and environment lets us display relevant code samples for the Getting Started Tutorial, Device Tutorials and Projects

Done