Strange Occurance with Actions

I recently programmed an image to add to a variable when the user entered and exited the image. What was happening (from my initial thoughts)is the variable only added on the enter action and not the exit, After some debugging, I noticed that the variable in fact was being added to on each action, but on the enter action the variable read in numerical order and on the exit action the variable read every other number (e.g 2,4,6,8,etc.)Does anyone have any insight as to why this happen as described?

Discussions have been disabled for this post