My coblocks doesnt work(movement)

Hi
my coblocks dont work i want it to be when im not holding down “up key” then the players animation is neutral and when im holding down “up key” it has to be run can somebody help?
here is my cospace CoSpaces Edu :: MAFIA

2 Likes

•You need to divide the botton interaction in three parts like this:

when “up key” is down
run animation walk

when “up key” is up
run animation neutral

when “up key” is pressed
the movment commands

•You can also remix this cospaces made by @Stefan and learn the code: CoSpaces Edu :: Remix di hostage save/survival island

1 Like