pxt-ev3/docs/reference/brick/show-mood.md
Galen Nickel 4f70d341e4 Start on the 'brick' api topics (#280)
* Start on the 'brick' api topics

* Add the delay to clear screen example

* Better output for clearsceen example
2018-01-30 17:02:22 -08:00

699 B

show Mood

Show a mood on the brick. A mood will have a image on the display along with a sound and solid or flashing light.

brick.showMood(moods.sleeping)

You can choose one of several moods to show on the display. Use a mood to help show what your @boardname@ is doing at the moment.

Parameters

mood: A mood to show on the brick. Choose one of these moods:

  • sleeping
  • awake
  • tired
  • angry
  • sad
  • dizzy
  • knockedOut
  • middleLeft
  • middleRight
  • love
  • winking
  • neutral

Example

Show a winking mood on the brick.

brick.showMood(moods.winking)

See also

show image