Count: {{ count() }}
**Code** panel.
6. **Events** schema panel.
12.
**Sources** panel and add custom implementation code. Actions are created as custom actions by default, but you can also use [XState built-in actions](#xstate-built-in-actions).
To remove an action, use the Backspace key, *right-click* and choose **Delete**, or use the **Sources** panel and enter the actorâs source logic.
Provide your actor with an ID so it can be used with the [`sendTo` or `stop` actions](#xstate-built-in-actions) to stop and send events to the actor. You can add actor input by selecting the actor and using add **[Sources](sources)** panel, which will be formatted in your [exported code](export-as-code). The options are:
* [assign](/docs/actions/#assign-action): assigns data to the state context.
* [raise](/docs/actions/#raise-action): raises an event that is received by the same machine.
* [log](/docs/actions/#log-action): an easy way to log messages to the console.
* [sendTo](/docs/actions/#send-to-action): sends an event to a specific actor.
* [stop](/docs/actions/#stop-action): stops a child actor.
* [Read more about actions in XState](actions).
* [Read more about actors in XState](actors).
### Spawning actors in Statelyâs editor
*Coming soon*
---
# Source: https://stately.ai/docs/editor-context-and-meta.mdx
# Context and meta in Statelyâs editor (/docs/editor-context-and-meta)
* Coming soon⦠setting initial context values
* Coming soon⦠updating context with assign
* Coming soon⦠JS/TS export
---
# Source: https://stately.ai/docs/editor-states-and-transitions.mdx
# States and transitions in Statelyâs editor (/docs/editor-states-and-transitions)
import { MoreHorizontal, Plus, Info, AlertTriangle, Star, Code, PlayCircle } from 'lucide-react';
# States and transitions
State machines help us model how a process goes from state to state when an event occurs. At their most basic, state machines are made up of these states, events, and the transitions between them.
**[Sources](sources)** panel.
---
# Source: https://stately.ai/docs/editor-tags.mdx
# Tags in Statelyâs editor (/docs/editor-tags)
import { Plus, Info, PlusSquare } from 'lucide-react';
# Tags
You can add tags to states in Statelyâs editor:
* Select the state you want to tag and use