I think i figured it out... at least it seems to work.
goes basically like this:
on control pressed ---> set private variable "dash" to 1
every 500 milliseconds
value dash equal to 1 ---> set dash to 0
on control pressed
value dash equal to 1 ---> mess with speed etc.
does anyone know if there's a better way?