Wait wait
UKismetMathLibrary::EqualEqual_IntInt
UKismetMathLibrary converts things, I use this lib often.
I don’t see UKismetMathLibrary in your code.
It’s obvious, at the end it has " FindIndex
So the error is there when it’s trying to compare FindIndex with this library.
So it’s obvious that your Ftransform is not being converted to “int” as stated by me it’s the INT not converted. So Find Index is not an int, tho you made it an INT.
The error happens at the library level where it’s trying to equal int to int, it finds that Ftransform is not an INT and gives you the error
no operator found which takes a left-hand operand of type ‘const FTransform’