Hello! I’m a noob when it comes to Selection Service, I don’t understand it much, but this is what I’m trying to do. Basically I want to create a code where when you click a button (In a plugin), whatever UI you’ve selected will be changed in its position and size.
ResizeWholeScreenButton.MouseButton1Click:Connect(function()
ClickSound()
local Selection = game:GetService("Selection")
local Current = Selection:Get()
print(Current.Parent)
--Current.Position = UDim2.new(-0.003, 0,-0, 0)
--Current.Size = UDim.new(1.053, 0,1, 0)
end)
I’m not sure how to properly set it up

Here is the button in my plugin, once you click it,
![]()
Im trying to make it resize it as provided above, thanks 