Ah, I see. I think this’ll work for me.
I tried using behavior trees before but my AI couldn’t recognize the code. I used it to program roaming and it didn’t roam. It seems that blueprints work better.
Also, my fence is not an actor, so is there a way to do this code with like objects? Because the fence I am using, does not change into an actor when I select it in the blueprints.