Quote:

Something like
my.skill15 = 0.5 * (key_d-key_a) * Time_step;



No, it is not the result wat I want to have. The can compare the movement like you raise up your arm and bring it down. But the movement need to be in one key (the E-key). The code you gave me didn't gave any result, de entity stood at one place.