© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
3 replies
WindyOMG

Enemy slower nearer the player it gets

Hello, does anyone know how to make a script to make the enemy slower depending on how close they get to the player? (the game is in unity, 2d and it's top down if that helps. c# ofc)
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ enemy player follow
C#CC# / help
4y ago
Enemy following after the player (MONOGAME)
C#CC# / help
2y ago
❔ Android Debugging getting slower and slower
C#CC# / help
3y ago
when an enemy hits the player it doesn't stop for some reason, and when the form loads I can't move
C#CC# / help
4y ago