guiObject.AbsolutePosition doesn't work

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to get absolute position of a gui object.

  2. What is the issue? The problem, is that compiler cannot identify X and Y axis.

image

I hope someone can help! :slightly_smiling_face:

Oh I just realized that cld is a table. Hope my mistake will help somebody!

You cannot get the AbsolutePosition with a table. You would need to get the absolute position of something else. What exactly do you need it for? I thought I would note that your for loop is not doing anything try something like this.

for i,v in pairs(cld) do
    local pos = v.AbsolutePosition.X
end
1 Like

Thank you for replying! Realized just minutes after posting.