05-01-2023, 10:44 PM
1 hour ago, Andrein95 said:
Hello.
I'd like to take from topUI Mana bar.
From code and various example I can see clearly that:
//rett HP
Rectangle.SetUV(550, 108, 679, 119, fTexWidth, fTexHeight);
//inside recatngle
RectangleFill.SetUV(286, 220, 289, 227, fTexWidth, fTexHeight);
these two vars of type: UIRectUV map HP bar of topUI (second one from the top left).
What I can not understand is, where is the tool to get such informations?
If i want to grab or swap texture with another one, how to map coordinates in here?
Hope that I explained myself.
Best Regards
I generally use photoshop for that. Using information panel u can see pixels coords, do zoom and put the mouse over the top-left and bottom-right portion of your rectangle

