Search code examples
anylogic

getEngine().getState() == Engine.IDLE represents what in anylogic?


getEngine().getState() == Engine.IDLE

I found this inside slider when enabled.

enter image description here


Solution

  • The slider is only enabled (clickable) when the model is not running and not finished (i.e. in an "idle" state).

    You can always read up on things like this in the help. Engine states are explained here, for example: enter image description here