I’m using widgets as objective markers and want it to change opacity if it gets near the center of the screen, how should i get the coordinates of the widget?
Widget > GetCachedGeometry > LocalToAbolsute (Local Coordinates to 0,0) > YourPosition
This works, thank you
Is there a way for it to get the middle of the widget? currently it seems to get coordinates from one of the left corners
Yes… that´s where the LocalCoordinate comes in handy.
0,0 is the upper left corner of the widget
i currently don´t know if 1,1 would be the bottom right… or if this is a pixel coordinate, where you need to add in the desired Position X and Y of the relative point.
It was the latter, I fixed by getting the size of the widget and halving it to be used as localcoordinate, thank you!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.