# Problem with enter function on pressure

**URL:** <https://forum.kirupa.com/t/problem-with-enter-function-on-pressure/282153>\
**Category:** Uncategorized\
**Created:** [February 18, 2009, 9:50am UTC](https://forum.kirupa.com/t/problem-with-enter-function-on-pressure/282153 "2009-02-18T09:50:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kinben](https://avatars.discourse-cdn.com/v4/letter/k/9fc29f/32.png) [@kinben](https://forum.kirupa.com/u/kinben)\
**Post date:** [February 18, 2009, 9:50am UTC](https://forum.kirupa.com/t/problem-with-enter-function-on-pressure/282153/1 "2009-02-18T09:50:28Z")

</div>

Hey all,  
A little problem that I hope that somebody can help me out!  
I make a word puzzle boggle game with a button that people can used with the mouse click for a answer ('if else" construction “if” the answer is good “else” bad) The problem is that I also make a Enterkey function that also worked but the Enterkey on the keyboard is too sensitive on pressure when you push on it. It will easily read several times on a row ion just one gently push(I can see it on output , it will trace more then once on one push)  
I really hope that somebody can solve the problem!

mcButton1.onRelease = trueFunction;  
\_root.onEnterFrame = function ()  
{  
if (Key.isDown(13))  
{  
trueFunction();
