thanks for the reply,
unfortunately, using the min() method only gets you the value of the lowest instance variable;
i guess i should have been more clear, i'm more interested in knowing which variable is the one with the lowest value;
aside from using an array, i could do 4 actions iterated by an else statement, something like the following:
if forward < min(player.forward, player.right, player.back, player.left)
do this;
else right < min(player.forward, player.right, player.back, player.left)
do this;
else back < min(player.forward, player.right, player.back, player.left)
do this;
else left < min(player.forward, player.right, player.back, player.left)
do this