Help, How to Change Pivot of Texture in HUD Blueprint

Hello, Currently i have a problem on setting up the pivot of the Texture. I’m using Draw Texture Node in HUD Blueprint. Apparently texture being drawn/rendered from top left corner. and i want to scale the texture on first calls, but since the pivot on top left corner the scaling is not like i wanted. is there any way to change the pivot to center?

i’ve tried using widget and it works like i want, but the problem using widget in my case is the image/texture is stuttering when tries to update position every frame.

Video

Ahh… after some sleep i can think clearly and solved the problem… hehe

Here’s the code, i just offset the screen with icon size divided by 2

1 Like