How do I get the size and position of a Tool's icon/texture?

I wanted to make a border around the Tool’s Icon/Texture so I used UiStroke parented by a frame with the size of 0.1,0,0.1,0 with uiscale and other things parented by a frame with the size of 1,0,1,0. But when I tested it the sizes were different probably because of the display size difference. I need the position and size so I could just use a localscript to change the size and position that way.
image

2 Likes

Search for UI stroke adjuster that should fix your problem

1 Like

The position and size are also different though