# ESCStatement **Extends:** [Object](../Object) ## Description A statement in an ESC file ## Property Descriptions ### statements ```gdscript var statements: Array ``` The list of ESC commands ## Method Descriptions ### is\_valid ```gdscript func is_valid() -> bool ``` Check wether the statement should be run based on its conditions ### run ```gdscript func run() -> var ``` Execute this statement and return its return code ## Signals - signal finished(return_code): Emitted when the event did finish running