All i wanna do is put a gui at the mouse position WITHIN a frame… Positioning the gui using scale.
i tried this but it doesint work
dot.Position = UDim2.new(Mouse.X/current_frame.Size.X.Scale, 0, Mouse.Y/current_frame.Size.Y.Scale, 0)
I dont really know what else i could add.
MuPower
(MuPower)
January 23, 2022, 2:16am
#2
Why not just use offset since you’re basing the dot on the mouse anyway? It’s fairly simple if you do so. If you share the AnchorPoint of your frame and dot gui, I could help with some code.
1 Like
because i want to be able to resize the frame that the dot is in, and have the dot stay in the correct positions
MuPower
(MuPower)
January 23, 2022, 2:19am
#4
You can just recalculate the dot’s absolutePosition whenever the frame’s size changes.