Trigger for when you STOP pressing a key

Oct 03, 2021

I'm working on a side scrolling 2D game and I've got it to the point where the character "runs" left and right. When you press the left and right arrows the character runs, but I can't figure out how to make a trigger for the character to return to idle when you stop pressing the arrow key.

Anyone have a tip here? Thanks.

1 Reply