tactile switch () pressed?

tactile switch pressed

tactile switch () pressed? is an evive block and a boolean block. evive has two tactile switches; this block checks if either of them is pressed. The switch whose state you want to check can be chosen from the drop-down menu on this block. It returns “true” if the switch is pressed and “false” if the switch is not pressed.

evive Tactile Switch Pushbuttons

evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.


  1. Rotating the sprite if the tactile switch 1 is pressed.
    tactile switch example
  2. The example below checks which one of tactile switches 1 or 2 is pressed and changes the screen color using the fill screen with () color block. If no switch is pressed, the screen remains black.
    tactile switch example 2

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
evive Tactile Switch Pushbuttons

Tactile Switch

Introduction The two tactile switches are connected to Arduino pins 38 and 39, both active high. This means that the pins are at +5V when…
What is Push Buttons

What is Tactile Switch or Push Button?

Learn all about push buttons (tactile switches): how push buttons work, interfacing a push button with evive using PictoBlox and projects you can make using push buttons
Visualising-RC-Circuit-on-evive_v1 (2)

Visualizing RC Circuit on evive

In this project, we will visualize RC Circuit behavior on charging, discharging and different input signals on evive's mini oscilloscope.

How to use a Tactile Switch with evive

This tutorial discusses what are switches, types of switches, pull-up and pull-down resistors, and how to control the pin 13 LED on evive using a tactile switch with the help of an Arduino IDE sketch.
PictoBlox Supported Boards