How to get the actual position of the TextBox cursor

I’m not very good at English, so I used Google Translate
I’m building an autofill system, but I can’t get the cursor’s position


※ font size is 24
local Hello = “hello”
local World = " world!"

print(| Hello … World)

This function will return, 96)

If it’s not clear what I’m talking about, just ask me

1 Like

I dont know if you can get the cursor’s position, but maybe TextBox.TextBounds can help you with that.


1 Like

My bad, i just found this on the documentation

1 Like