Hey there,

Okay so i understand how to move a movieclip when a key is pressed. You would simply say :

onClipEvent(enterFrame){
if(Key.isDown(Key.SPACE)){
this._x += 5;
}

That works fine, but i want my movieclip to only move +5 once. Like it would not continuously move, i want it to just nudge 5 everytime the user presses space and the user couldn't just hold down space and it would keep moving.

Can someone help ?