Here are the rules for staying hidden:
Keep Still: If you move more than 2 squares during an action, you must
make a new Stealth check with a –5 penalty. If you run, the penalty is –10. If
any enemy’s passive Perception check beats your check result, you don’t
remain hidden from that enemy.
My...