Numeric value corresponding to the sprite's current state.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax Remarks A value of 0 represents the first state listed in this sprite's
list of states. Each subsequent state is the value of the previous plus 1.
You can refer to the sprites State enumeration to refer to states by name, but
the result must be explicitly converted to an integer.
Examples state = (int)State.Left
See Also