# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/prop-hunt-03-playing-effects-on-idle-players-in-unreal-editor-for-fortnite
# Local doc: epic-docs/documentation/en-us/fortnite/prop-hunt-03-playing-effects-on-idle-players-in-unreal-editor-for-fortnite.md
# Section: Determining If A Player Is Idle
(PropAgent:agent).AwaitStopMoving(MinimumDistance:float)<suspends>:void=
Logger.Print("Checking if the agent has moved less than the minimum distance.")
Verse Library
verse
01 Determining If A Player Is Idle
Waits for an agent to stop moving past a set distance to detect idle states for gameplay logic.
extracted-snippets/documentation/en-us/fortnite/prop-hunt-03-playing-effects-on-idle-players-in-unreal-editor-for-fortnite/01-determining-if-a-player-is-idle.verse