# AddUnique || TArray\<FTransform\>?

**URL:** <https://forums.unrealengine.com/t/addunique-tarray-ftransform/632460>\
**Category:** C++\
**Tags:** UE4-20, unreal-engine, UE5-0, UE4, question, CPP\
**Created:** [August 22, 2022, 6:45pm UTC](https://forums.unrealengine.com/t/addunique-tarray-ftransform/632460 "2022-08-22T18:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Alexa.Ki](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alexa.ki/32/562753_2.png) [@Alexa.Ki](https://forums.unrealengine.com/u/Alexa.Ki)\
**Post date:** [August 22, 2022, 11:05pm UTC](https://forums.unrealengine.com/t/addunique-tarray-ftransform/632460/3 "2022-08-22T23:05:42Z")

</div>

Thank you Sir for replying and correcting my code according to you.  
But the error: `ERROR:: Binary “==” No operator found` is ralated to the code because while adding the FTransform values are checked for `==` or `!=` to compare before adding a unique value because the operator `==` is not available for Comparing Transforms.

I can show an example: [FTransform Comparison Issue](https://forums.unrealengine.com/t/randomize-array-of-ftransform-and-compare-if-the-elements-are-duplicated-c/628877)  
This is related to this Issue and I have a solution on this post for this issue but it freez the engine.

---

_[View the full topic](https://forums.unrealengine.com/t/addunique-tarray-ftransform/632460)._
