Code Snippet
Expressions
Intersperse speech, smiles and frowns by using a variable.

About this snippet
This snippet will make the robot smile and frown during speech. We can use a variable (that we called speechmovement) and an if conditional to stop Ohbot’s mouth being set to the Top and Bottom lip speech sensing values and instead set it to smile or frown.
Download
- Click the download button below.
- In the Ohbot App, on the File menu select ‘Open Ohbiverse Download’.
- Find the downloaded file and click Open.