Hello, I tried to search it up, but I did not find anything what could help me.

local vs = game:GetService("VirtualUser")
vs:CaptureController()
local pos = [Gui_I_want_to_click_on].AbsolutePosition
vs:ClickButton1(Vector2.new(pos))

It is actually clicking, but at totally wrong position. I dont know what to do anymore, please help me. Thank you.