Can anyone help me with making frame move

I wanna move StatsFrame to Template
image

I already have tried to use this:

frame.Position = UDim2.fromOffset(b.AbsolutePosition.X-b.Parent.AbsoluteSize.X/3, b.AbsolutePosition.Y-b.Parent.AbsoluteSize.Y/3.5)

where b is ImageButton (Template) and b.Parent is ScrollingFrame. It works good, but on mobile StatsFrame moves more to right

1 Like