In the game I am writing the player has a character sprite and the character sprite has a facing indicator. The facing indicator is always hovering over a cell adjacent to the players location. If the facing indicator is over an item with a context action it populates the context action button and the player can press this button to activate the context action.
The tile map has three layers.. from lowest to highest there is the ground, the floor and the blocking entity. An entity on any of these layers can have a context action associated with it.
If the question I have is the preferred priority order for the various context actions.
I think I have narrowed it to two choices.
1) Indicator Blocking ent
2) Indicator Floor
3) Indicator Ground
4) Current Location Floor
5) Current Location Ground
-or-
1) Indicator Blocking ent
2) Current Location Floor
3) Current Location Ground
4) Indicator Floor
5) Indicator Ground
Basically, the question is if the things your are standing on should be considered before or after the things you are standing next to?