II tried using platform to make him jump, but if I do that i dont know how to make it so he cant move.
This should be relatively easy..
Set default controls in the behaviour properties to NO
in your event sheet add an event:
on keyboardkey pressed - platform simulate jump