bool CheckMouseOverSpn() { if (!insideSpn) { resSpn.Text = "Mouse has Exited Spin Button"; } else { if (movedOverSpn) { resSpn.Text = "Mouse Moving over Spin Button"; Console.WriteLine("[" + spn.GetType() + "] Mouse Moving"); movedOverSpn = false; // reset and check next time movingOverSpn = true; } else if (movingOverSpn) { resSpn.Text = "Mouse Stopped Moving over Canvas"; Console.WriteLine("[" + spn.GetType() + "] Mouse Stopped"); movingOverSpn = false; } } return(insideSpn); }