Develop games in your browser. Powerful, performant & highly capable.
Add boolean instance variable "reversedControls" to the character.
You can use Timer behavior to set this variable to true.
Then do this:
Keyboard key W is down
Player is boolean reversedControls set -> Player simulate control Down
Else -> Player simulate control Up