wsyong11
(Guest)
#1
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
Example:
※ font size is 24
[[
local Hello = “hello”
local World = " world!"
print(| Hello … World)
]]
This function will return Vector2.new(144, 96)
If it’s not clear what I’m talking about, just ask me
1 Like
richiitalia
(richiitalia)
#2
I dont know if you can get the cursor’s position, but maybe TextBox.TextBounds can help you with that.
Documentation:
TextBounds
1 Like
richiitalia
(richiitalia)
#3
My bad, i just found this on the documentation
CursorPosition
1 Like