State
Members
Name |
Documentation |
Type |
Description |
Optional |
|---|---|---|---|---|
|
A string that will be used to identify the state. Cannot be the same as any other state in the machine. |
|
An identifier string. May not contain ‘.’, spaces, newlines, or tabs |
No |
|
A string containing a Lua script that will be executed when the state is entered, i.e on a transition from another state. |
|
Value of type ‘String’ |
Yes |
|
A string containing a Lua script that will be executed when the state is exited, i.e on a transition to another state. |
|
Value of type ‘String’ |
Yes |