Keydown() too quick

Blitz3D Forums/Blitz3D Programming/Keydown() too quick

ARGGH! Another problem...

Within my flip look I have

[code]
If KeyDown(57)
If edit_menu_enabled= False
edit_menu_enabled = True
Else
edit_menu_enabled = False
EndIf
endIf
[\code]

However the loop is SOO quick that it appears to read the keyboard too many times...

How do I ensure that its only read once?

KeyHit( )

Oops! Boy I feel silly now!

Thanks.