You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to be able to get the position of a frame in a ScrollingFrame
-
What is the issue? Include screenshots / videos if possible!
I want to be able to get the position of a frame in a ScrollingFrame
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I did look on the developer hub. I didn’t try any solutions, because I really couldn’t think of anything.
3 Likes
What are you trying to accomplish?
So, I have a frame that is from a ScrollingFrame. On that frame, it will have a ‘Jump’ button, which finds the frame in the ScrollingFrame and “scrolls” to it
Now I understand, you get the frame’s position with:
Frame.Position -- Frame is your frame inside of the ScrollingFrame
You can use this to get the position of the canvas inside the scrolling frame:
You could try using this property and the UI’s position to find the position of the UI relative to the scrolling frame.
That helps a bit. I will try to use AbsolutePosition, since the frame’s position is set to scale.
Nevermind, I did not need to use AbsolutePosition. It works! Thanks.