state(...) FunctionsReferenceScriptingStudioZ.Controller state(name : string) : State; Parameters Parameter Type Description name string The name of the state to return. Returns The Z.State in this controller with the specified name.