For a script I'm writing, I need to define x and y, and they need to be the x and y values of the position of a button called "CURRENT". is there a way to do this? I tried
local x = CURRENT.Position.UDim2.new.x
local y = CURRENT.Position.UDim2.new.y
but obviously UDim2 isn't a part of Position. Let me know if I need to clarify anything. Thanks!

2 comments
it worked! thank you so much!!!
np