> 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/hyperskill-studio-authoring/state-machine-reference/actions/vcode-function.md).

# VCode Function

A VCode function is a script written using block programming and attached to a virtual object. This action plays the script.

**Entity:** The virtual object containing the script to run.

**VCode Function:** The function to run.

**Note:** Currently only one VCode function can be attached to a virtual object, and it is titled **Default VCode Function**.
