Eyes: Mood/Expression (internal_eyes_mood)¶
What it does: Sets the mood of the animated eyes.

Inputs¶
- Field
mood: parameter selection in the block menu.
Output¶
- None (statement block).
When to use it¶
- When you want to change the robot's emotion according to the state of the program.
- For example, when transitioning between normal, warning and error states.
Tips and pitfalls¶
- Changes only the state of the object
eyes; you will see the visual change at the nextinternal_eyes_refresh. - Use only after initializing the eyes, otherwise the variable
eyesdoes not exist.
Generated Python example¶
eyes.setMood(0)