Totally noob. Need some help for tinkerkit button.

Do you guys know how to read the tinkerkit button? If you know how to, please show me the source code. Thank you.

Depending on which connector you're using, you can check it with digitalRead (using 3 or 11 for inPin, accordingly.)

https://www.arduino.cc/en/Reference/DigitalRead

Thank you very much! Your advice was a great help.