So i got this fullscreen working, and adding blips aswell, but the blips aren’t working with the zoom in/out, since the zoom is using the mappart used in the viewport im not exactly sure how id align it with the blip gui?
UserInputService.InputChanged:Connect(function(input: InputObject)
if not mapExpanded then
return;
end
if input.UserInputType ~= Enum.UserInputType.MouseWheel then
return;
end
local up = input.Position.Z > 0
local currentY = MapPart.Position.Y;
local newY
if up then
newY = math.clamp(currentY + scrollAmount, MIN_ZOOM_Y, MAX_ZOOM_Y)
else
newY = math.clamp(currentY - scrollAmount, MIN_ZOOM_Y, MAX_ZOOM_Y)
end
-- Update the Y position
MapPart.Position = MapPart.Position + Vector3.new(0, newY - currentY, 0)
end)