Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.

Remote sensor connections was a feature that allowed other programs to connect to Scratch. This allowed Scratch to be extended to connect to devices, access the internet, or perform other functions not possible inside Scratch. For example, JoyTail allowed one to use a joystick with Scratch.


This required Scratch 1.3.1 or higher.

Enabling remote sensor connections.png

Now Scratch is ready to send and receive data over the network.

How it Works

Remote Sensor connections turned Scratch into a local server at port 42001. Whenever either:

  • A broadcast is sent
  • A global variable is changed

It sends out a message to all connected programs with the relevant information.


The following software used this feature to connect to Scratch:


The following programming languages can connect to Scratch:

You can also implement the Remote Sensors Protocol yourself in any language that supports sockets.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.