Stacked Condition

Definition: The Stacked condition checks if the agent's location in relation to the agent specified by the depiction matches the adjacency choice; that is, the condition checks whether the agent is immediately above, somewhere above, immediately below, somewhere below, or above or below the agent that is specified by the depiction.

If the agent is adjacent to the chosen depiction as specified with the adjacency parameter, the condition is true. Otherwise, the condition is false.

Parameters: adjacency, depiction