    

 ## On this page

  

 

 # setPrevalidate

 Last update: 30.07.2026 

public [setPrevalidate](set-prevalidate.md)(prevalidate: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))

Sets the script's prevalidate mode.

#### Parameters

prevalidatetrue to turn on prevalidate, false to turn off#### Throws

[ModelCenterException](./../-model-center-exception/index.md)