> For the complete documentation index, see [llms.txt](https://docs.siminsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions.md).

# Actions

## Overview

Actions are the things a state does when it runs: showing a message, playing media, moving an object, changing an attribute, and so on. You add an action to a state from the State Machine tab in the HyperSkill Desktop application, using the entry or exit action dropdown and the + button. Each page below describes the settings for one action. For the general workflow, start with [How to Author the State Machine](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/how-to-author-the-state-machine.md).

## Messaging, dialogue and AI

* [AI Chat](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/ai-chat.md): open, close and send messages in a 2D chat interface.
* [Change Character Prompt](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/change-character-prompt.md): change the prompt the AI Chat agent uses.
* [Reset Chat](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/reset-chat.md): return the AI to its state before any user input.
* [Run Agent](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/run-agent.md): start an AI agent.
* [Display Message](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/display-message.md): show (and optionally speak) a message.
* [Speak](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/speak.md): have a virtual person speak.
* [Switch Virtual Assistant](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/switch-virtual-assistant.md): change which virtual person or voice is the virtual assistant.
* [Microphone](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/microphone.md): mute or unmute the user's microphone.

## Feedback, scoring and progress

* [Add Feedback Log](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/add-feedback-log.md) and [Show Feedback Log](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/show-feedback-log.md): store feedback and display it later.
* [Quiz](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/quiz.md): ask a multiple-choice question.
* [Checklist](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/checklist.md): add or remove checklist items.
* [Leaderboard](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/leaderboard.md): record attributes for a leaderboard.
* [Set Attribute](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/set-attribute.md): set an attribute value on an entity.
* [Start Timer](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/start-timer.md) and [End Timer](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/end-timer.md): create, start and stop timers.
* [Wait](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/wait.md): delay the actions that follow.
* [Go To Sim](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/go-to-sim.md): offer the user a jump to another simulation.

## Media and display

* [Display Image](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/display-image.md), [Play Video](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/play-video.md) and [Open Link](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/open-link.md): show images, videos and links.
* [Play Audio](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/play-audio.md) and [Spatial Audio](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/spatial-audio.md): play sounds.
* [Transition Effect](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/transition-effect.md): fade the scene out and in.
* [Lighting Settings](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/lighting-settings.md): change the simulation lighting.
* [Highlight](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/highlight.md): highlight an entity.

## Cameras

* [Camera](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/camera.md): add a camera and show its view on a monitor display.
* [Add a Follow Camera](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/add-a-follow-camera.md): follow an object at a set distance.

## Objects and virtual people

* [Spawner](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/spawner.md): create entities in the environment.
* [Translate](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/translate.md) and [Rotate](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/rotate.md): move and rotate an object.
* [Play Animation](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/play-animation.md), [Animation Controller](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/animation-controller.md) and [Animation State Transition](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/animation-state-transition.md): play and control animations and poses.
* [Look At](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/look-at.md) and [IK Solver](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/ik-solver.md): direct where a virtual person looks or reaches.
* [Particle Controller](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/particle-controller.md): play particles on an entity.
* [VCode Function](https://docs.siminsights.com/build-simulations/hyperskill-studio-authoring/state-machine-reference/actions/vcode-function.md): run a block-programming script attached to a virtual object.
