How to get text offset/scroll of TextBox?

Hi guys. I want to make my own admin panel. With autocomplete.
But the thing I can’t get working is text scrolling it TextBox, if it’s too big:
image
image
image
image
The ClipsDescendants property was turned off to show how text behaves.
The problem is the autocomplete position - I want to place it at the begin of next command piece. I can get position of text, but it won’t just work if text is scrolled by TextBox itself. How I can get this scroll value?

1 Like

TextService (set maximum value of vector possible btw so it gives accurate size) or just get bounds in TextBox

I know how I can get text space occupied, but I don’t know how to get how much text was scrolled on TextBox.