# studio-script-syntax

> A script is not valid JavaScript, so the game cannot load it.

| | |
| --- | --- |
| Kind | Studio problem |
| Reported by | Studio validation: the Problems panel, Play, Publish and the MCP `validate` tool |
| Code in the Studio | `script-syntax` |

A script's code must parse before the game can run: a missing value, an
unclosed bracket or a stray symbol stops the whole game. The problem names
the script and the line, and the editor underlines the spot.

## Fix

- Open the script from the problem and correct the underlined line.

## See also

- [Scripts](/studio/scripts)
