Find document and sourcecode

I am making a game in which there is a house and animals like dogs, cats, … Currently I want to find the source code for the part where these animals move automatically, called AI movement. I am searching but cannot find the desired document, if anyone knows, please suggest me? Thank you so much!!!

You can’t find it because that’s an extremely vague name. Why don’t you just use one of the many general tutorials out there?

I found a satisfactory tutorial on unityassetstore, but it is a paid version. Due to lack of money, I cannot buy it. So I want to find a free tutorial for beginners like me. The pets here are simply described as having their real life activities.

Unity Learn is free and has guides. YouTube is free and has guides as well.

Hi, I also recommend Unity Learn.