Can I get any help with my coding

I know how to use the spot directing, but I compeletly forgot how to this part.
Here’s the running part: