# Sandbox.Script.Compile

```csharp
bool Compile()
```

Checks that the script compiles with its supplied arguments without executing it.
Arguments remain available for the next Run. Failure sets LastError.

### Returns

`bool`

Declared in [Sandbox.Script](/api/Sandbox.Script).
Assembly: `Sandbox.Engine`.
