Formula Actions - CMUCTAT/CTAT GitHub Wiki

These functions are performing actions on the current CTAT behavior graph as side effects.

Index

goToState

goToState(state)

  • Arguments:
    • state: <String> - state name
  • Result: - none
  • Description: Moves the behavior graph to the specified state.

goToStartState

goToStartState()

  • Arguments: - none
  • Result: - none
  • Description: Returns the behavior graph to the start state.

performInterfaceAction

performInterfaceAction(selection, action, input)

  • Arguments:
    • selection: <String> - selection name
    • action: <String> - action name
    • input: <String> - input value
  • Result: - none
  • Description: Simulates the student preforming an interface action specified by selection, action, input. For more information on SAI's see CTAT Behavior Graphs.

Back to top

Next >> Algebra Expressions

⚠️ **GitHub.com Fallback** ⚠️