How do I change the Light Sensor to act as a Button on SAM Space and how is it useful?

Being able to change the Light Sensor to act as a Button is useful as it allows you to have a two-in-one sensor, with two different types of input in just one sensor. This is also helpful as it can allow you to do the lesson plans that require buttons without having to purchase extra sensors. 

To change your Light Sensor to act as a Button follow these steps:

  1. Open up a SAM Space project 
    Screenshot 2021-02-22 at 13.56.04
  2. Drag the Light Sensor block from the 'Inputs' section onto the workspace
    Screenshot 2021-02-24 at 12.54.12
  3. Tap or click on the Light Sensor and select the cog
    Screenshot 2021-02-24 at 12.56.37
  4. From the drop-down, select 'As a button (False/True' 
    Screenshot 2021-02-24 at 12.58.27