How to find a specific set of objects in an array from a line trace ?

im looking to cast a line trace out by pressing e, hit an object, check if that object is a “possessable” object (in that possession is a mechanic like mario odyssey or ctrl alt ego) and then to run the possess function where i spawn a character controlled version of that character in its place. hope this clarifies it more and if you need any screenshots or more infor lmk :slight_smile: