AH See !! I knew it
Anyway, there are many different ways, but as long as your game will remain simple, you can use another condition with all those Keyboard conditions above:
and overlaper NOT overlapping with Box.
So it will look like this:
-------------------------------
Keyboard D is down . . . . . . . . . . . . then set Animation to "Walk" and simulate Right.
X
Overlaper Overlapping with Box
------------------------------