Skip to contents

The studio guide for mascot_gesture(). The same page is read in the mascot studio.

Try it live. The mascot studio shows this function with live controls and the generated code. In an R session with the optional packages bslib and knitr installed, run:
mascot::mascot_studio(fn = "mascot_gesture")
It opens on this function's guide; change a control and watch the mascot.

Gestures

shimmer is Tessa's idle animation.

Nod
A short nod, such as to acknowledge an action.
gesture = "nod"
Wave
A wave, such as a greeting; characters without arms rock instead.
gesture = "wave"
Rock
Rock gently.
gesture = "rock"
Nod
A short nod: the body dips twice.
gesture = "nod"
Wave
A wave of the right hand; the body leans slightly.
gesture = "wave"
Nod
A precise head nod.
gesture = "nod"
Wave
A tool salute wave.
gesture = "wave"
Rock
Rock gently on the wheel base.
gesture = "rock"
Nod
A short nod: the body dips twice.
gesture = "nod"
Wave
A wave of the right hand; the body leans slightly.
gesture = "wave"

Warnings, errors and common mistakes

mascot_gesture("unknown-gesture")
Error: could not find function "mascot_gesture"