Here's one way you can do this. Make sure to give your character the Pin behavior and the red box the Platform behavior and place it behind your character. Then make sure you do an event... At start of layout pin player to box. That way to box will do all the moving for you once you put these events in place and then your player can do all the correct animations.
hope this helps Riley.Poppitz