© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
14 replies
craizerbr

❔ Stop animation (if and else)

I made this code and I have a walk animation when I press "W", but I don't know a code to stop the animation if the "W" key it's not being pressed. I have tried many ways, but couldn't find one that works.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Button and if else
C#CC# / help
3y ago
❔ Animation never stop c#
C#CC# / help
3y ago
Refactoring if else
C#CC# / help
4y ago