Coding help would be appreciated

you can just use the follow command instead of doing a pan, I find that its easier
@follow YOU walks to spot 0.8383 373 in zone 2 AND YOU is animation

No need to put @YOU walks to spot 0.28483 283 in zone 3 AND YOU is animation

oh oops nvm follow command doesn’t work with spots