When hovering over a button I want it to move up a couple studs or so and move down when I move my mouse away. I have a working version, but I have to keep my mouse hovering over it the whole time its tweening or else it wont go back down when I leave it. I am unsure what I'm doing wrong, I have override set to true.
Video Example: https://www.youtube.com/watch?v=a2k2n5sDpS8&ab_channel=JustEmerald
Here is my Code:
Settings = script.Parent
Settings.MouseEnter:Connect(function()
print("Mouse Entered")
Settings:TweenPosition(UDim2.new(0.143, 0,0.48, 0, "Out", "Quad", 0.2, true))
end)
Settings.MouseLeave:Connect(function()
print("Mouse Left")
Settings:TweenPosition(UDim2.new(0.143, 0, 0.5, 0, "In", "Quad", 0.2, true))
end)

1 comment
Thanks so much I have been stuck for so long