Ok, all you need to do is remove the “== ItemActor” - the cast will only be true when it’s a Key Class 1.
If you’re wanting to test if the picked up item is the same class as whatever ItemActor is at the time - you can call “GetClass” on both objects and check if they ==.