Are you trying to limit the object selection with the condition ? Compare two values isn't suited for that. Since two object types are in your condition, you will need to nest two "for each". Or maybe a single "for each CollisionBox1" with a pick by comparison under it.
No I'm attempting to measure the distance between these two objects and if they are more or less that a certian distance apply a movement.
but thank you for your suggestion anyway it's owrth trying.