I need to get the translateX value of my component.
translateX
I followed the instructions of both first and second answers of this post: How to get value translate