Keydown() too quick

Blitz3D Forums/Blitz3D Programming/Keydown() too quick

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?