How to make AI not collide with something that player can collide with?

if there’s only one instance in world u don’t need to use get all actors of class, u can just use get actor of class which returns the first instance it founds. also u don’t need to cast cuz it will give u direct access to that blueprint