Emoji#
Introduction#
The VEX AIM Coding Robot can display emojis on its screen. Emojis can be used to show the robot’s emotion, show a status, or give feedback while a project is running.
Only one emoji can be shown at a time. A new show_emoji method replaces the emoji currently shown on the screen. Use hide_emoji to clear the emoji from the screen.
Below is a list of all methods:
Actions — Show or hide an emoji.
show_emoji— Displays an emoji on the robot’s screen.hide_emoji— Clears the emoji from the screen.
Actions#
show_emoji#
show_emoji displays an emoji on the robot’s screen. The emoji appears over any text or drawn images on the screen.
Usage:
robot.screen.show_emoji(emoji, direction)
Parameter |
Description |
|---|---|
|
The emoji to display. See the emoji options below. |
|
Optional. The direction the emoji faces on the screen:
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
# Show two different emotions
robot.screen.show_emoji(CONFIDENT)
wait(2, SECONDS)
robot.screen.show_emoji(FRUSTRATED)
# Show one emoji facing different directions
robot.screen.show_emoji(EXCITED, LOOK_LEFT)
wait(2, SECONDS)
robot.screen.show_emoji(EXCITED, LOOK_FORWARD)
wait(2, SECONDS)
robot.screen.show_emoji(EXCITED, LOOK_RIGHT)
hide_emoji#
hide_emoji clears the emoji from the robot’s screen.
Usage:
robot.screen.hide_emoji()
Parameters |
Description |
|---|---|
This method has no parameters. |
Example
# Show an emoji for 2 seconds
robot.screen.show_emoji(THINKING)
wait(2, SECONDS)
robot.screen.hide_emoji()



































