Forum Discussion
BenjaminHarreld
4 years agoCommunity Member
Trigger for when you STOP pressing a key
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
- WaltHamiltonSuper Hero
Depends on how you make it run. Attach your .story file here (or at least that slide), and somebody can give you some ideas.
Related Content
- 4 months ago
- 20 days ago
- 4 months ago
- 10 years ago
- 3 months ago