hey devs! i have never experienced this issue before while making gui tweens. i made a gui where once you click on the gui, it turns big but it turns back to normal. it works normally on pc but on mobile it just doesnt work. i tried switching to tweenservice instead of tweensize but it glitches out. the first video is on pc, the second video is on mobile. any help appreciated! (yes, i actually tested it on mobile and it doesnt work)
whats your code?
also turn on ignoreguiinset to true see if that does anything or change the clip to safe area - this is toggled on the screengui as a property
tween service allows u to tween most properties in the button/frame as well as tweening size
tween size only tweens the size
script.Parent.MouseEnter:Connect(function()
script.Parent:TweenSize(UDim2.new(0.965, 0, 0.295, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Back, 1, true)
end)
script.Parent.MouseLeave:Connect(function()
script.Parent:TweenSize(UDim2.new(1, 0, 0.303, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Back, 1, true)
end)
script.Parent.MouseButton1Click:Connect(function()
script.Parent:TweenSize(UDim2.new(1.118, 0, 0.353, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, .05, true)
if game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS.shop.Visible == false then
game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS.Position = UDim2.new(.5, 0, .55, 0)
for i, ui in pairs(game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS:GetChildren()) do
if ui:IsA("Frame") then
ui.Visible = false
end
end
game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS.shop.Visible = true
game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS:TweenPosition(UDim2.new(.5, 0, .5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Back, .25, true)
else
game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS.shop.Visible = false
end
task.wait(.05)
script.Parent:TweenSize(UDim2.new(0.965, 0, 0.295, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, .15, true)
end)
ignoreguiinset is already enabled
can u get the print off this while in the mobile device mode game:GetService("Players").LocalPlayer.PlayerGui.main.middleButtonUIS.shop.Visible = true
cause at this rate idk - it should work accordingly, but the fact it isnt with mobile it has to do with its size limit in the frame or some property which is overriding it.
sorry for the bump, but i am having this issue right now. him and i are using the same asset pack and i noticed this issue right now. is someone able to fix this?