otp.Source.state_vars#

property Source.state_vars: StateVars#

Provides access to state variables

Returns:

State Variables – State variables, you can access one with its name.

Return type:

Dict[str, state variable]

See also

DECLARE_STATE_VARIABLES OneTick event processor