I want to make a skill tree gui zoom in and out when the player scrolls the mouse wheel up or down. I already know I can use uis to determine which way they are scrolling when when they start scrolling I just dont now how to change the main gui and the gui elements. I already made it so the gui is draggable aswell.
maybe use TweenSize im not sure cuz i never used TweenSize
I already know how to determine which way they are scrolling. I just don’t know how to scale the gui up and down, with the elements inside aswell.
UIS.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseWheel then
Gui.Size = Udim2.new(0,0,input.Position.Z,0)
end
end)
1 Like